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

Bug: Month and Year dropdowns overlap

Open nimsilva opened this issue 3 years ago • 2 comments

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: image

Expected: image

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

nimsilva avatar Mar 15 '22 08:03 nimsilva

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.

stale[bot] avatar Nov 02 '22 06:11 stale[bot]

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.

github-actions[bot] avatar Jun 19 '24 07:06 github-actions[bot]

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

github-actions[bot] avatar May 08 '25 02:05 github-actions[bot]