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

AMP4Email: Support scrollTo action #27460

Closed
lichinshao opened this issue Mar 27, 2020 · 2 comments
Closed

AMP4Email: Support scrollTo action #27460

lichinshao opened this issue Mar 27, 2020 · 2 comments

Comments

@lichinshao
Copy link

lichinshao commented Mar 27, 2020

What's the issue?

AMP email: scrollTo functionality doesn't work on AMP email playground or in gmail client when you send a test email from playground.

How do we reproduce the issue?

  1. copy code here, which is essentially amp list Remove usages of for-of #2 example in playground with added srollTo top button. https://glitch.com/edit/#!/alert-mica-ticket
  2. paste into AMP3Email playground: https://amp.gmail.dev/playground/
  3. Observe bug when you scroll to the bottom and click on the "to top" button. Can also send a test email from playground and view bug in gmail client.

Tips on Rendering Bugs

What browsers are affected?

amp4 email playground, gmail client.

Which AMP version is affected?

@fstanis
Copy link
Contributor

fstanis commented Apr 2, 2020

Unfortunately, scrolling in emails is a hard problem (this is a big issue for lightbox: #23170). The email is always fully in viewport, since it's rendered inside an iframe, so you'd need to scroll the parent page which is on a different origin.

@caroqliu caroqliu changed the title amp4email scrollTo doesn't work AMP4Email: Support scrollTo action Apr 29, 2020
@stale
Copy link

stale bot commented Oct 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale Inactive for one year or more label Oct 22, 2021
@stale stale bot closed this as completed Oct 30, 2021
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

3 participants