palantir/blueprint

DateInput popover opens again after editing hours or minutes

Open

#4,776 建立於 2021年6月23日

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

描述

Environment

  • Environment
  • Package version(s):
    • "@blueprintjs/core": "3.31.0"
    • "@blueprintjs/datetime": "^3.23.4"
  • Operating System: Mac OS 10.15.7
  • Browser name and version: Chrome 91.0.4472.114

Code Sandbox

Link to a minimal repro: https://codesandbox.io/embed/popover-popping-up-again-n5r7v?fontsize=14&hidenavigation=1&theme=dark

Steps to reproduce

  1. Have time showing in the DateInput
  2. Select any date
  3. Edit either the hour or minute inputs inside the popover (not directly in the date input)
  4. Click outside of the popover to close

Actual behavior

The popover reopens itself. Note this does not happen with seconds.

Expected behavior

The popover should close.

貢獻者指南