Repository navigation
Conversation
Swiping past the edge of the dialog content and then immediately swiping back leaves the content unresponsive. Contain the overscroll within the content. Fixes angular#15995
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I ran into this on iOS: if you swipe past the top or bottom of the dialog content and then swipe back right away, nothing moves. Adding
overscroll-behavior: containfixed it for me.One side effect: scrolling no longer chains from the dialog content to outer containers. I think that's fine for a dialog, but let me know if you disagree.
I only tested it in the iOS Simulator (iPhone 17, iOS 27.2), not on a real device. It got stuck every time I tried without the change (3 attempts) and scrolled every time with it (4 attempts). Chromium unit tests pass. Firefox doesn't launch on my machine, with or without the change. I didn't add a test, since the unit test browsers can't reproduce the native iOS gesture.