Incorrect unpausing on back navigation to AMP doc
It appears that when you
- E.g. have an ad on a page
- Click on a link to navigate away
- Click back
the ad is not shown.
Could it be that we pause on unload? Or is anything else going on.
Slotting into this current sprint, given the high priority, but please update if that's not right
I'm unable to produce on a standalone AMP page (local build, with ad unloading). Might be a viewer interaction causing it? @ericfs.
I'm also not able to reproduce when using a viewer.
Got a reproduction thanks to Malte. This only affects elements inside the viewport. For some reason, inViewport is false for them, even though the #renderOutsideViewport code has detected they are in viewport.
Definitely does not have to do with #unlayout, though.