Skip to content

[amp-story-player] Fix scrolling bug #27184

@Enriqe

Description

@Enriqe

Swiping on the player will cause a horizontal scroll in the parent page when it has an overflow.

Main issue is that the touch event is "swallowed" by the iframe, and there's no way to preventDefault or stopPropagation on it. This can be verified in this demo, notice how the touchEvents are logged outside the iframe but not when they're inside.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions