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

Scroll is stuck if cursor is on top of pinned image. #139

Closed
DesignMonkey opened this issue Aug 9, 2014 · 4 comments
Closed

Scroll is stuck if cursor is on top of pinned image. #139

DesignMonkey opened this issue Aug 9, 2014 · 4 comments

Comments

@DesignMonkey
Copy link

Hi,

I have taken the advanced mobile example from your page and modified it. I have made this example:
http://designmonkey.dk/scrollmagic/Example.html

When I scroll with the arrow on top of the image (half top part of the page) the scroll is stuck, but if I move the cursor below the image, I don't have any problems.

And another small issue: When triggerHook is 0, the border radius animation doesn't appear.

Do you have any ideas why this is happening?

Besides that, I really like this plugin. A lot of fun :D

Cheers

Peter

@janpaepke
Copy link
Owner

Hi Peter,

I'm gonna go ahead and assume you didn't read the support guidelines.
Because if you did, you would have used the search and found this #34 or this #50 or even this #82 .

And my guess for the not appearing border radius animation is that it either doesn't happen at all (i.e. something is wrong with your tween setup) or it happens outside of the viewport.

If it's the first reason, you can read on how to debug it in the support guidelines.
If it's the second reason however I advise to use the debugging extension to see where your scene actually triggers. Something I coincidentally recommended in (guess where) the support guidelines.

Please excuse the sarcasm, but it's a little frustrating, because I wrote these guidelines precisely for this reason.

If you still can't figure it out, you are of course welcome to get back to me and we'll figure it out!
Hopefully you will still have fun with the plugin.

regards,
Jan

@janpaepke
Copy link
Owner

Addition: Since there was another issue with the same scroll stuck problem like 20 minutes later I will have to consider to add the fix to ScrollMagic.
I have avoided it until now because it would mean an unexpected dom manipulation of the pinned element. But since this seems to irritate quite a lot of people I will think about it.

@DesignMonkey
Copy link
Author

Hi Jan

Sorry about that, and thank you for answering anyways.

Seems to be working again :)

Regards
Peter

@janpaepke
Copy link
Owner

Still glad I could help! :)

janpaepke added a commit that referenced this issue Aug 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants