New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 740564 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

Tapping the ContentSuggestions omnibox does not work with card style

Project Member Reported by gambard@chromium.org, Jul 10 2017

Issue description

When the ContentSuggestions are using the card style (iPad, iPhone landscape, iPhone x+), tapping the omnibox, before it is scrolled to the top, move the whole collection to the left instead of just moving the omnibox to the top

What steps will reproduce the problem?
(1) Have iPhone set up as landscape
(2) Tap the fake omnibox in the NTP to pin it to the top
(3) Unfocus the omnibox.

What is the expected result?
The omnibox should go to its previous position

What happens instead?
The whole collection is moved to the left. Everything is fine after scrolling a  little.
 
Summary: Tapping the ContentSuggestions omnibox does not work with card style (was: Tapping the ContentSuggestions Omnbox does not work with cards style)

Comment 2 by fi...@chromium.org, Jul 21 2017

Labels: zine-triaged
Project Member

Comment 3 by bugdroid1@chromium.org, Jul 25 2017

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

commit b8b88f80d4523fce8e2111d80a94d7e9e0fba613
Author: gambard <gambard@chromium.org>
Date: Tue Jul 25 14:35:23 2017

Fix ContentSuggestions inset on iPad and landscape

The size of the items displayed by the collection is not based on the
inset of its section. It allows ContentSuggestions to display correctly
on iPad and iPhone landscape by adjusting the inset for all sections.

Bug:  740564 ,  740563 
Change-Id: I77edf2d01a45964a527b60e882d9a7eda97a0429
Reviewed-on: https://chromium-review.googlesource.com/584831
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489288}
[modify] https://crrev.com/b8b88f80d4523fce8e2111d80a94d7e9e0fba613/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
[modify] https://crrev.com/b8b88f80d4523fce8e2111d80a94d7e9e0fba613/ios/chrome/browser/content_suggestions/content_suggestions_header_view_controller.mm
[modify] https://crrev.com/b8b88f80d4523fce8e2111d80a94d7e9e0fba613/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Verified in 62.0.3173.0 canary, iPhone 6 plus iOS 10.3.3, iPhone 7 iOS11,
Followed step #0
Omnibox goes to its previous position.

Sign in to add a comment