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

Previous month button appears when date is selected (when using minDate and showing more than 1 month)

Open KristenWilde opened this issue 3 years ago • 1 comments

Describe the bug The button for navigating to the previous month is hidden when the first visible month contains the minDate. However, if a date is selected from another visible month, the button appears.

To Reproduce

Set up a date picker with minDate={new Date()} and monthsShown={2}. By default, when opening the date picker, the first month shown is the current month, and the button is hidden. Click a date in the upcoming month, and see the button appear.

Expected behavior

The button should stay hidden.

Screenshots

Back In Time

Desktop (please complete the following information):

  • OS: iOS
  • Browser: Chrome
  • Version: 3.8.0

KristenWilde avatar Feb 02 '22 23:02 KristenWilde

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 Aug 13 '22 06:08 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 20 '24 01:06 github-actions[bot]

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

github-actions[bot] avatar Jun 30 '24 01:06 github-actions[bot]