Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DateRangeInput2] TimePicker value doesn't set onBlur #5526

Open
standbyoneself opened this issue Sep 6, 2022 · 4 comments
Open

[DateRangeInput2] TimePicker value doesn't set onBlur #5526

standbyoneself opened this issue Sep 6, 2022 · 4 comments

Comments

@standbyoneself
Copy link

standbyoneself commented Sep 6, 2022

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

Possible solution

@adidahiya
Copy link
Contributor

@standbyoneself can you make a screen recording video or gif of your repro steps? I tried your repro steps in the docs example. Updating the time input seems to work properly if you have a date range selected:

2022-09-06 10 37 44

@standbyoneself
Copy link
Author

Yeah sure
I put the cursor at the right bottom and the value didn't change to 12:00

2022-09-06.17.52.26.mov

@standbyoneself
Copy link
Author

What's up guys? Would it be fixed?

@standbyoneself
Copy link
Author

@adidahiya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants