[Home] Allow omnibox suggestions to be scrolled up
Previously, omnibox suggestions could be scrolled down, but when scrolling back up, the bottom sheet would intercept the scroll and defocus the omnibox. This change adds a special case to the bottom sheet event handler. If the suggestions are showing and scrolled any amount, the sheet will not take the scroll event (unless it is in the toolbar area). This allows the suggestions to be freely scrolled and only when they reach the top can the sheet be pulled down. BUG=735319 Change-Id: Icaf373d573b8c2380452d2b5e272aa1ed578f4ca Reviewed-on: https://chromium-review.googlesource.com/562667Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#487120}
Showing
Please register or sign in to comment