palantir/blueprint
View on GitHub[DateRangeInput2] TimePicker value doesn't set onBlur
Open
#5526 opened on Sep 6, 2022
P2Package: datetimeType: bughelp wanted
Description
Environment
- Package version(s): 0.55
- Operating System: macOS 12.4
- Browser name and version: Chrome 98
Code Sandbox
Link to a minimal repro (fork this code sandbox): https://blueprintjs.com/docs/#datetime2/date-range-input2
Steps to reproduce
Open the DateRangeInput2. Set "Enable time picker". Open the datepicker and set 01:00 in the timepicker for the first day in range. Click outside of the popover, but near it, at the top, e.g. 10px. Open the popover again. 01:00 is set. Then try to set 02:00 and close the popover by clicking at the bottom of the page. The time is not set. Provided onBlur callback is called in both situtations
Actual behavior
Time is not set when click outside of popover
Expected behavior
Time should be set onBlur