Benoît Pointet
Benoît Pointet
no unfortunately not. pull requests and other forms of contribution are much appreciated ;)
Scrollsnap actually should behave fine with resizes. Can you provide more infos, an example URL?
cannot reproduce the error, which browser? when resizing from what size to what size?
Could you please retest on http://benoit.pointet.info/stuff/jquery-scrollsnap-plugin/ I fixed a loop bug: https://github.com/benoitpointet/jquery-scrollsnap-plugin/commit/1eac2a2e39507d492da7664df26310b3c5bd1bf8
Will investigate.
For this use case, just dont enable scrollsnaping if on touch device. Am Montag, 14. April 2014 schrieb Oskar Rough Mosumgaard : > It would be handy with a destroy...
> I would like to disable scrollsnapping for screens smaller than X (for design reasons). > You're right that with CSS, changing the screen size (like rotating the device) will...
> Sorry, this might be a stupid question, but how do you disable for touch/mobile devices? @nitrokev For this use case, just dont enable scrollsnaping on touch devices.
@oskarrough I dug into the screen size issue. Basically for dynamic response to screen size I'd use a plugin like https://github.com/bfintal/Selector-Query to add specific classes to snapping elements depending on...
No workaround indeed. It's a pity since your use case is interesting. Cannot promise any update. b.