giniedp / spritespin

jQuery plugin for spriteanimation.
http://giniedp.github.com/spritespin/
MIT License
377 stars 122 forks source link

How to enable vertical touch scroll over the Spritespin element on mobile devices ? #90

Closed mpvlc closed 1 year ago

mpvlc commented 1 year ago

I am trying to figure out how to enable vertical touch scroll over the Spritespin element on mobile devices. When the Spritespin element has for example height of 100vh there is currently no way for user to continue vertically scroll within a page. Is there any way how to solve this ? Only thought I had was to detect if the drag on Spritespin is vertical then temporary set pointer-events: none on the element, and on touchend turn it off... Any help would be appreciated

mpvlc commented 1 year ago

There was a problem with my custom plugin. Vertical touch scroll seems to work out of the box.