forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QA Rich Card: filter scrolling events
Explicitly stop the propagation of scroll events (including key and mouse events) that aren't handled by the pretarget handler when the rich answers view is visible. Specifically update behavior to disallow scrolling of anything *other* than the rich answers card. Scrolling behavior of the rich answers card will be updated later. This is necessary to make event handling consistent with the existing quick answers view (e.g. not allowing scrolling of other windows while the card is visible.) Tests: tested on DUT Bug: b/274503679 Change-Id: I4c216049c2d1140bd300aebe71a95fadc2b98335 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4363407 Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Angela Xiao <angelaxiao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1122027}
- Loading branch information
Angela Xiao
authored and
Chromium LUCI CQ
committed
Mar 25, 2023
1 parent
9ed5c17
commit 911d7ac
Showing
2 changed files
with
36 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