New issue
Advanced search Search tips

Issue 735319 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Can't scroll omnibox suggestions

Project Member Reported by k...@chromium.org, Jun 21 2017

Issue description

Chrome Version: Canary
OS: Android

What steps will reproduce the problem?
(1) Select omnibox with Google Keyboard
(2) Try to scroll to see 4th suggestion

What is the expected result?
See 4th suggestion

What happens instead?
It doesn't let me scroll to the 4th suggestion
 
Screenshot_20170620-195118.png
155 KB View Download
Labels: -Pri-2 M-61 Pri-1
Owner: danielpark@chromium.org
Status: Assigned (was: Available)
Matt and I discussed making the zine suggestions BottomSheetContent that is shown in the bottom sheet directly rather than laid on top in a separate View.

Content is controlled by BottomSheetContentController.

Daniel, can you please look into this?
Cc: tedc...@chromium.org
 Issue 731327  has been merged into this issue.
Another case to test:

What steps will reproduce the problem?
(1) Switch phone to landscape
(2) Tap into omnibox
(3) Scroll down suggestions
(4) Scroll up suggestions

What is the expected result?
Suggestions scroll up

What happens instead?
Chrome Home dismisses itself
 
Owner: mdjones@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Jul 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f2cfd5c921e1c558f9a1922f62592e5032252a49

commit f2cfd5c921e1c558f9a1922f62592e5032252a49
Author: Matthew Jones <mdjones@chromium.org>
Date: Mon Jul 17 16:52:50 2017

[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/562667
Reviewed-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}
[modify] https://crrev.com/f2cfd5c921e1c558f9a1922f62592e5032252a49/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBar.java
[modify] https://crrev.com/f2cfd5c921e1c558f9a1922f62592e5032252a49/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
[modify] https://crrev.com/f2cfd5c921e1c558f9a1922f62592e5032252a49/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java
[modify] https://crrev.com/f2cfd5c921e1c558f9a1922f62592e5032252a49/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheet.java

Status: Fixed (was: Started)

Sign in to add a comment