-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
implement parallax scrolling #1443
Comments
This is on our radar. It actually fits well with the performance aspect, because we want to do it well :) CC @rudygalfi |
Parallax can be set up via CSS and would work on Chrome fairly everywhere and on desktop Safari and Firefox. http://jsbin.com/nevehug/edit?html,css,output However, it won't work in iOS Safari. The main reason, I believe, is not styling itself, but the way scrolling is implemented. That would be the main challenge implementing it there as well when the scroll events arrive significantly later. |
@dvoytenko that implementation uses a div with overflow:auto around the entire page which isn't pretty and makes it invalid amp-html. I already thought about implementing paralax with css only but I found no amp valid way. That's why I opened this issue 😉 |
Bumping up in priority, per discussion |
Re-opening this to track in context of using scrollbound animation framework to power the feature |
@cvializ This is a P1 that was not updated in a while. Can you provide a status here. Thank you. |
This is already shipped under an experiment flag, closing. (experiment will be launched when we are comfortable with the perf/FPS of this by aligning it with #8411 work) |
This is a high priority issue but it hasn't been updated in awhile. @cvializ Do you have any updates? |
will be handled by #11746 |
This is a high priority issue but it hasn't been updated in awhile. @aghassemi Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @aghassemi Do you have any updates? |
This probably doesn't fit into the performance aspect of amp. It is however an often used stylistic effect to have images parallax scrolling. This, of course, doesn't work on mobile yet and is often a problem on desktop browser too so it would be challenging. However: a correct implementation could make this effect much more pleasant.
I imagine it like this:
The text was updated successfully, but these errors were encountered: