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

Container based scrolling not responding. #149

Closed
siegfriedgrimbeek opened this issue Sep 1, 2014 · 4 comments
Closed

Container based scrolling not responding. #149

siegfriedgrimbeek opened this issue Sep 1, 2014 · 4 comments
Labels

Comments

@siegfriedgrimbeek
Copy link

Hi,

Awesome plugin.

When using var controller = new ScrollMagic(); everything works fine but as soon as I try:

var controller = new ScrollMagic({container: "#scroll_wrapper", loglevel: 3});

I have spent the last 6 hours trying to debug this and cannot find a problem...

Please check it out here: http://weloveweb.co.za/redcapsules/

Thanks.

@janpaepke
Copy link
Owner

Hi, glad you like the plugin.
Please mind the support guidelines (only post persistent links to help future users).
Your mistake is that you don't actually scroll inside the div container.
You scroll the page with the whole div container in it (you can see that if you check the height of your #scroll_wrapper).

For this to work as you expect it to the container needs to be setup to scroll the overflowing element(s).

regards,
J

@siegfriedgrimbeek
Copy link
Author

Hey Jan,

Thanks for the quick response! I will leave the link up indefinately for people to use!

I managed to get the scrolling working on Mobile but now my mouse wheel will not work!

@janpaepke
Copy link
Owner

Hey again,
my guess is you use pinned sections and this seems to be a common problem.
See here:
#34 #50 #82 #139 #140

This issue is fixed in the upcoming version 1.1.0 that will be released later this week.

@siegfriedgrimbeek
Copy link
Author

Thanks a lot Jan!

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

No branches or pull requests

2 participants