-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorder "show browser controls" animation after gesture scrolls.
If chrome starts an animation to show browser controls that has either (a) not completed before a user gesture scroll starts, or (b) starts during the user gesture scroll, then restart the animation after the scroll completes. This makes it unambiguous to the user that the controls can be present, since the scroll will cancel the animation otherwise. We don't want a small scroll, which is easy to generate accidentally, to have the large effect of preventing the browser controls from becoming visible. For simplicity, this CL doesn't try to differentiate a small scroll from any other; any scroll that overlaps with an animation to show the browser controls results in the controls becoming visible when the scroll completes. Bug: 1341541 Change-Id: I58950b78bd02cb84989290a45cf5f67626508c61 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4136461 Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/main@{#1089760}
- Loading branch information
1 parent
361ed1f
commit 5ef87ae
Showing
3 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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