react-date-picker icon indicating copy to clipboard operation
react-date-picker copied to clipboard

Selected date is not shown in the input field

Open cavishek39 opened this issue 5 years ago • 9 comments

When, I clicked on a different date other than the current date, that selected date is not showing in the date input field.

cavishek39 avatar Apr 15 '21 06:04 cavishek39

I have the same issue. Looks like is more a problem of Safari, because on Chrome everything is working.

VictorBaba avatar Apr 17 '21 19:04 VictorBaba

Yes, I am facing the same issue. @VictorBaba @cavishek39 were you able to find an alternate solution?

ron51 avatar Apr 26 '21 10:04 ron51

I've used material date picker now.

cavishek39 avatar May 05 '21 07:05 cavishek39

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] avatar Aug 26 '21 12:08 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity.

github-actions[bot] avatar Sep 13 '21 00:09 github-actions[bot]

Is there an easy way to reproduce this? Specific browser, browser version, specific code?

wojtekmaj avatar Sep 13 '21 21:09 wojtekmaj

@wojtekmaj I can reproduce this issue on Safari when I use react-date-picker in a modal. It works just fine if I use it outside of a modal. The strange thing is that if you wrap DatePicker with a div and an onClick to control isOpen the area that is covered by the div (and calendar that opens) will actually fill the input.

Reproduction here: https://codesandbox.io/s/react-date-picker-modal-example-71sx5 .

Date picker in modal won't work in Safari (for me) and it will work outside the modal. Works in Chrome / Brave.

HPieters avatar Dec 11 '21 11:12 HPieters

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] avatar Mar 14 '22 00:03 github-actions[bot]

Is there any update on this issue? I am facing the same issue on safari

sohaib-baltoro avatar Jan 24 '24 13:01 sohaib-baltoro