You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this is a common practice.
Reference: https://developer.mozilla.org/pt-BR/docs/Web/CSS/touch-action Another common pattern is that of an image carousel which uses pointer events to handle horizontal panning, but doesn't want to interfere with vertical scrolling or zooming of the document.
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.
Hi guys,
I noticed that the web browser scroll is not locked while using the carousel on mobile devices.
Maybe that could be another optional attribute.
Suggested implementation:
I fixed my case adding touch-action:pan-y to the horizontalSlider so the scrolling of the browser doesn't affect my experience of using the carousel.
I suggest adding it as an optional boolean attribute similar.
Teachability, Documentation, Adoption, Migration Strategy:
It looks like this is a common practice.
Reference: https://developer.mozilla.org/pt-BR/docs/Web/CSS/touch-action
Another common pattern is that of an image carousel which uses pointer events to handle horizontal panning, but doesn't want to interfere with vertical scrolling or zooming of the document.
You can also check the carousels from airbnb (on a mobile device) to see the behavior I mentioned.
https://www.airbnb.com.br/s/all?refinement_paths%5B%5D=%2Fplaylists%2F40319
The text was updated successfully, but these errors were encountered: