ZestfulNation / vue-hotel-datepicker

A VueJS v2 responsive date range picker. Displays the number of nights selected and allow several useful options like custom check-in/check-out rules, localization support and more.
https://zestfulnation.github.io/vue-hotel-datepicker/
MIT License
840 stars 220 forks source link

Disable the touch event for changing months #304

Closed filippodicostanzo closed 4 months ago

filippodicostanzo commented 2 years ago

Describe the bug In mobile layout, when datepicker is open, if i move down or up, with touch event, months changed. This can create a bug with small displays if you can't see the full month.

To Reproduce Steps to reproduce the behavior:

  1. Go to Datepicker input
  2. Touch event up and down
  3. Changed month
  4. This can create a bug with small displays if you can't see the full month.

Expected behavior The possibility to disable change month with touch event on mobile devices

Smartphone (please complete the following information):

matiasperrone commented 2 years ago

Do you have a PR for this fix? I will push it right away... but I do not have yet the time to follow this project.

matiasperrone commented 2 years ago

@filippodicostanzo do you fixed this? Do you have an update?

matiasperrone commented 1 year ago

I am sorry, but I didn't get an answer and it is very difficult for me to test on iPhone devices.

matiasperrone commented 1 year ago

Can you provide a screen capture of the problem?