Bug: Month and Year dropdowns overlap
Describe the bug Default month and year dropdowns overlap.
To Reproduce
The behavior can be reproduced on the project's website with the following code:
() => { const [startDate, setStartDate] = useState(new Date()); return ( <DatePicker selected={startDate} onChange={(date) => setStartDate(date)} showMonthDropdown showYearDropdown /> ); };
Expected behavior Expected behavior would be for the month and year dropdowns not to be on top of each other. Same way it is when using react-datepicker version 2.0.0
Screenshots
Bug:

Expected:

Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Version 99.0.4844.51
- React: ^17.0.2
- react-datepicker: 4.7.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.