palantir/blueprint

[DateInput] DateInput re-opens after changing time

Open

#1,831 建立於 2017年11月21日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)TypeScript (2,167 fork)batch import
P3Package: datetimeType: bughelp wanted

倉庫指標

Star
 (20,263 star)
PR 合併指標
 (平均合併 43天 10小時) (30 天內合併 27 個 PR)

描述

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

貢獻者指南