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
I followed instructions in documentation written for my React-Date-Picker version
I have checked if this bug is not already reported
Description
Somewhat related to #636. The issue occurs when using the react-modal package and placing the date picker in a modal. On opening of the calendar, the buttons in the calendar wrapper all function as they should but clicking anywhere else in the calendar wrapper including disabled calendar tiles and disabled buttons triggers an outsideAction and therefore closes the calendar.
Steps to reproduce
Install react-modal
Create a modal
Place a datepicker input into the modal
Open the datepicker calendar
Click anywhere but on an active button
Datepicker closes with outsideAction
Expected behavior
Expecting the calendar not to close when clicking anywhere in the calendar area.
Actual behavior
Calendar closes when clicking anywhere in the calendar area that is not an active button .
Additional information
No response
Environment
Browser (if applicable):
React-Date-Picker version: Latest
React version: 17.0.2
The text was updated successfully, but these errors were encountered:
Before you start - checklist
Description
Somewhat related to #636. The issue occurs when using the react-modal package and placing the date picker in a modal. On opening of the calendar, the buttons in the calendar wrapper all function as they should but clicking anywhere else in the calendar wrapper including disabled calendar tiles and disabled buttons triggers an outsideAction and therefore closes the calendar.
Steps to reproduce
Expected behavior
Expecting the calendar not to close when clicking anywhere in the calendar area.
Actual behavior
Calendar closes when clicking anywhere in the calendar area that is not an active button .
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: