| commit | bcbb06abff6332df220427f69c05a0f7fd350a5c | [log] [tgz] |
|---|---|---|
| author | Oleksii Kalinin <kalinino@google.com> | Sat Sep 06 21:15:37 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 06 21:15:37 2025 |
| tree | 1730724283b671d69b1ad7d7bb9c64192eb27a34 | |
| parent | 75ef9c359dea932eab72da60e5f3b9d3ad850c83 [diff] |
Fix: Non-clickable areas consume touches when accessibility is off For non-accessibility mode any non-clickable areas, like simple text, consume all the touch events. It makes it impossible to listen to touch events on parent elements. The problem was in `super.onTouchEvent(event)` that was called on any touch on TextView, it always returns true to `superResult`, as a result the simple text always consumes all the touch events. The fix still works correctly for non-clickable areas in accessibility mode, but makes nothing and returns false when accessibility is turned off. Change-Id: I2c88406446a10398ef50c8bd37d973955db6e373 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6917897 Reviewed-by: Matt Dembski <dembski@google.com> Reviewed-by: Patrick Noland <pnoland@chromium.org> Commit-Queue: Matt Dembski <dembski@google.com> Cr-Commit-Position: refs/heads/main@{#1512083}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.