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

Scrolling back up from a scrollable slide. #28

Open
ItsJoeTurner opened this issue Mar 14, 2016 · 5 comments
Open

Scrolling back up from a scrollable slide. #28

ItsJoeTurner opened this issue Mar 14, 2016 · 5 comments

Comments

@ItsJoeTurner
Copy link

I have 4 slides on my website. The 4th has a large scrollable div so the user can scroll and see the footer. However when they begin to scroll back up the plugin takes them back to the 3rd slide.

Any way to counter this?

@lukesnowden
Copy link
Owner

Does the div have the class 'scrollable' on it?

@ItsJoeTurner
Copy link
Author

It does and that helps but I'm also having trouble with scrolling down on the site, the content is already scrolled down once the user gets to it. Here's a quick demo: http://cl.ly/1y2C06463y1m

@lukesnowden
Copy link
Owner

I know what the issue is but its hard to explain or contain. The browser has a "momentum" when the mouse is scrolled, even when the container has reached its upper or lower max reach, it will continue to tick that momentum. I believe (if I can remember correctly) a member issued a pull request to try and tinker with this: 1156d55 try setting the mouseWheelDelay to 250 see if that helps.

@snowman-repos
Copy link

Same problem here. I have a scrollable text container inside a slide. Trying to scroll inside that container just scrolls to the next slide. I added the scrollable class to the container with no effect, also increasing the mouseSwipeDistance and the mouseWheelDelay had no effect either.

Maybe need a function like preventSlide() that can be run if the mouse is over a certain element and you can from inside the beforeSlide() callback.

@Epizefiri
Copy link

same problem here, any news?

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

4 participants