palantir/blueprint

[DateInput] DateInput re-opens after changing time

Open

#1,831 创建于 2017年11月21日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P3Package: datetimeType: bughelp wanted

描述

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

贡献者指南