You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior DatePicker should accept a prop to NOT reset focus back to the input.
Desktop (please complete the following information):
OS: macOS Sonoma
Browser: Chrome
Version: 129.0.6668.59
Additional context
Its happening because the start date text input is focused asynchronously after start date has been selected and end date text input has been focused.
Describe the bug
For example, unable to focus the end date text input after start date has been selected.
To Reproduce
Here's a MCVE
Expected behavior
DatePicker
should accept a prop to NOT reset focus back to the input.Desktop (please complete the following information):
Additional context
Its happening because the start date text input is focused asynchronously after start date has been selected and end date text input has been focused.
react-datepicker/src/index.tsx
Lines 668 to 672 in 9ad0ce0
react-datepicker/src/index.tsx
Lines 519 to 534 in 9ad0ce0
The text was updated successfully, but these errors were encountered: