vue-hotel-datepicker
vue-hotel-datepicker copied to clipboard
Issue when closing calendar on mobile
Hello,
Using Desktop, it's OK, when I select arrival date, and close the calendar to reopen it nothing changes.
But using mobile, when I close calendar, the dates somehow resets and I can select dates that I should not be able to select.
To illustrate this:
First calendar opening is OK

If I select March 26th I can't select departure as 26th can't be an arrival day (by the way, half days do not have specific css class to show if it's just an arrival open date or departure open date).

If I close the calendar to reopen it arrival date is still selected but all other dates reappear which allows the user tu select March 28th for departure which leads to double / overlapping bookings.


This is only happening on mobile layout. Any idea on how to solve this? Is an event triggered on close only on mobile?