palantir/blueprint

DateInput popover opens again after editing hours or minutes

Open

#4.776 geöffnet am 23. Juni 2021

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2.167 Forks)batch import
P2Package: datetimeType: bughelp wanted

Repository-Metriken

Stars
 (20.263 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 43T 10h) (27 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide