palantir/blueprint

[DateInput] DateInput re-opens after changing time

Open

#1831 aperta il 21 nov 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P3Package: datetimeType: bughelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

Bug report

  • Package version(s): 1.33.0
  • Browser and OS versions: Chrome 62.0.3202.94, Firefox 57.0, Firefox 56.0 on Windows 10

Steps to reproduce

Reproducible on the documentation page for DateInput http://blueprintjs.com/docs/#datetime/dateinput

See a video of the bug here: https://youtu.be/3Z7MrvRJ0xU

  1. Set DateInput precision to Minute, so the TimePicker is shown
  2. Open the DateInput
  3. Change the time in the TimePicker, you need to actually set a new value, it seems
  4. Close the DateInput by clicking outside

Actual behavior

The DateInput will close and then immediately open again

Expected behavior

The DateInput will close

Guida contributor