react-flatpickr icon indicating copy to clipboard operation
react-flatpickr copied to clipboard

Changing date in range selector is resetting time to 12

Open jainvizz opened this issue 2 years ago • 3 comments

I have a range plugin date picker and when I am changing date, it is not retaining user selected time. Instead it is resetting it to 12.

Steps to reproduce:

Select from date in range picket and change time Select a diff. date

Expected: Time selection should retain Actual: Time selection getting reset to 12

Similar issue was raised here https://github.com/flatpickr/flatpickr/issues/1393 but looks like it is not working for react-flatpickr. Here is the codesandbox link

https://codesandbox.io/s/elegant-tharp-bfm1ee

Version Used: 3.9.0 (I tried upgrading to latest version as well but no help) Platform: Window/Chrome Mode: Range

jainvizz avatar May 31 '22 12:05 jainvizz

Please provide a codesandbox link that demonstrates the behavior you're talking about, thanks!

jacobmischka avatar May 31 '22 13:05 jacobmischka

@jacobmischka I already added link in the description itself. Pasting it here again

https://codesandbox.io/s/elegant-tharp-bfm1ee

jainvizz avatar May 31 '22 13:05 jainvizz

@jacobmischka Did you get a chance to look into this issue?

jainvizz avatar Oct 11 '22 14:10 jainvizz