Skip to content

SingleDatePicker date switching bug #53

@oleholei

Description

@oleholei

Steps for reproduce:

  • When Mounting the component, I set the default date by startDate prop. (Screen 1)

  • Switch the picker on one month earlier (Screen 2)

  • I want to switch to current month back, but the 'next' arrow is disabled (Screen 2, right arrow is disabled)

  • when i click on different days on picker a few times, the 'next' arrow is disabled (Screen 3)

  • when i click on the datepicker block arrows (when dropp-picker is not dropped) and switch day to current month and then change the day on dropped picker, the arrow becomes available (Screen 4)

  • But by switching the month by arrows, layout of picker comes invalid (Screen 5, 6)

Screenshot 2022-03-14 at 14 53 20

image

image

Screenshot 2022-03-14 at 14 54 04

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions