ampproject / ampproject/amphtml
Scroll freeze/lag gmail app (AMP-email)
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Hi, this is my first Bug report so bear with me. We currently have an issue when sending an email to the Gmail APP for iOS. We have created an AMP mail with an interactive menu, where content gets showed depending on what menu-item you click. Unfortunately when interacting with one of the menu-items the email scroll tends to get stuck. The weirdest part about this issue is that it seemingly happens randomly. Sometimes the email can be scrolled fine, otherwise not regardless if we have made any changes to the code or not. When it gets stuck on my phone, it also gets stuck on my colleagues phone, and when it works for me it also has worked for him. (See video and you'll see what I mean). Really frustrating to reproduce the error! š£
_(The design of the email is not finished, I'm fully aware the items etc aren't aligned)_
https://user-images.githubusercontent.com/82397663/120776951-0dbec500-c525-11eb-810a-f6b7202fbc1d.mp4
Iāve tried searching Stack Overflow/reddit & google to see if someone has bumped into this issue before, but canāt seem to find anything. Iāve also tried removing parts of the code step by step to try finding the bug/cause. However the ālag/freezeā still seem to happen randomly.
Has anyone experienced this issue before? Or something that reminds of it? Basically Iām struggling to recreate the issue and to identify the cause of it.
Best regards
Claes
### Reproduction Steps
1. Paste the AMP code into your esp
2. Send the email to your gmail, and open the gmail in the gmail app, (iPhone)
3. The scroll freeze should occur when selecting an item from the menu and then trying to vertically scroll. It happens randomly, sometimes it works fine just to malfunction an hour later.
If you are willing to look into this I'll send over the code!
### Relevant Logs
_No response_
### Browser(s) Affected
_No response_
### OS(s) Affected
iOS
### Device(s) Affected
iPhone Xr, iPhone X, iPhone 11 (+More device-models probably).
### AMP Version Affected
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.