Calendar entries are lost after changing month
ugened47 opened this issue · comments
Calendar entries are lost after the calendar inside FieldDateAndTimeInput
is closed and it's unavailable to select date/time.
To Reproduce Steps to reproduce the behavior:
- Go to the listing page
- Click on calendar input click next month arrow and select date.
- Calendar is closed and no time entries are available
- Open calendar again and no dates are available
Expected behavior
Calendar works correctly
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
Only happens when changing the month. The currentMonth
is reset before it's actually used inside onBookingStartDateChanged
callback.
When removed onClose prop introduced in #158 everything started working correctly.
Thanks for the report and sorry, our focus has been a bit elsewhere - so, we missed this earlier.
Bug fix is now merged to master.