Scrollify
Scrollify copied to clipboard
When disabling Scrollify page doesn't scroll at all
I am working on a project in Webflow, and for some reasons I need to disable scrollify on mobile. I tried setting touchScroll: false or calling $.scrollify.disable(); with a page width condition, but the page instead of scrolling normally, stopped scrolling at all. Am I getting something wrong? I am using jQuery v3.3.1.
That’s odd, I never seen that behaviour. Both the things you’ve tried should work fine.
Had the same issue. I removed "scrollbars: true" from my options and it works.
I had the same issue. I removed "scrollbars: false" and it now works.
I'm also experiencing the same issue. Have y'all just settled on having the scrollbar show in order to work around this @dynainteractive @meta4creations ?
@mmoga-uf Sorry, I don't recall what I did or what project I used this on.
Hey guys, it's been a while since you started this topic but I think you got the answer I'm looking for ! Like @simonszalai I'm working on a Webflow project and tried to implement Scrollify. It went well on desktop but I need to disable it on mobile. I'm not a code master, I'm a designer, and I've been scratching my head for hours now..
This is the code I used :
I've tried to add lines with $.scrollify.disable(); mentioning screen width and things like
function disableScrollify(toggle){
if(toggle){
$.scrollify.disable();
} else {
$.scrollify.enable();
}
}
Like I said I'm pretty shitty at coding so I can't figure it out Hope you can help me on this !
thank you
@Marin-polish I have applied this logic but scrolling is not working at all in chrome and firefox, here are the details https://github.com/lukehaas/Scrollify/issues/399
@simonszalai can you please share the solution if you found one.