Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When disabling Scrollify page doesn't scroll at all #303

Open
simonszalai opened this issue Mar 3, 2018 · 8 comments
Open

When disabling Scrollify page doesn't scroll at all #303

simonszalai opened this issue Mar 3, 2018 · 8 comments

Comments

@simonszalai
Copy link

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.

@lukehaas
Copy link
Owner

lukehaas commented Mar 3, 2018

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

@dynainteractive
Copy link

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

@meta4creations
Copy link

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

@mmoga-uf
Copy link

mmoga-uf commented Aug 6, 2019

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 ?

@meta4creations
Copy link

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

@Marin-polish
Copy link

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 :

<script> $(function() { $.scrollify({ section : ".section-scrollify", interstitialSection : "footer", }); }); </script>

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

@pwketankulkarni
Copy link

pwketankulkarni commented Apr 9, 2020

@Marin-polish I have applied this logic but scrolling is not working at all in chrome and firefox, here are the details #399

@pwketankulkarni
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants