Scrollify icon indicating copy to clipboard operation
Scrollify copied to clipboard

When disabling Scrollify page doesn't scroll at all

Open simonszalai opened this issue 6 years ago • 8 comments

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.

simonszalai avatar Mar 03 '18 12:03 simonszalai

That’s odd, I never seen that behaviour. Both the things you’ve tried should work fine.

lukehaas avatar Mar 03 '18 18:03 lukehaas

Had the same issue. I removed "scrollbars: true" from my options and it works.

dynainteractive avatar Mar 08 '18 21:03 dynainteractive

I had the same issue. I removed "scrollbars: false" and it now works.

meta4creations avatar Jun 12 '18 11:06 meta4creations

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 avatar Aug 06 '19 16:08 mmoga-uf

@mmoga-uf Sorry, I don't recall what I did or what project I used this on.

meta4creations avatar Aug 06 '19 17:08 meta4creations

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 avatar Mar 20 '20 17:03 Marin-polish

@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

pwketankulkarni avatar Apr 09 '20 13:04 pwketankulkarni

@simonszalai can you please share the solution if you found one.

pwketankulkarni avatar Apr 09 '20 13:04 pwketankulkarni