commit | 38cde2c6282cbe8650590352b51ef7824fa2bc80 | [log] [tgz] |
---|---|---|
author | Louis Romero <lpromero@google.com> | Fri Jan 05 16:36:58 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 05 16:36:58 2024 |
tree | a9436bf1769d8ad180c462b56481724e2f7d9838 | |
parent | 77008a9b1ceaf532a95bfa89bc85452f1db7e9c0 [diff] |
Dismiss the keyboard when dragging Tab Grid search results This CL dismisses the keyboard as soon as the scrollview with the search results is scrolled. Prior to the new Compositional Layout, this was not an issue, as there was a bug where the Suggested Actions had a way too large height, leading to the Suggested Actions not being able to be occluded by the keyboard. But the Compositional Layout gives it its correct height, leaving it hidden behind the keyboard. An alternative fix would be to subscribe to the keyboard notifications, and adapt the scroll view's additional safe area insets but it's more cumbersome. Fixed: 1515895 Change-Id: I411b5bb0deb9fa62e4e43805a2eb5d2601da891e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5172556 Reviewed-by: Aliona Dangla <alionadangla@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Auto-Submit: Louis Romero <lpromero@google.com> Commit-Queue: Aliona Dangla <alionadangla@chromium.org> Cr-Commit-Position: refs/heads/main@{#1243454}
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.