Hide clear button when the omnibox is empty |
||||
Issue descriptionWhen there's no text in the omnibox, the clear button should be hidden. Also the clear button code deserves an explanation comment as to why we can't use the system one.
,
Jun 22 2018
pinkerton: on latest canary, clear the textfield. Observe the clear button is still visible.
,
Jun 29 2018
,
Jul 12
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a0056ea7bc75754d4ac5388b0ee9108cc604945d commit a0056ea7bc75754d4ac5388b0ee9108cc604945d Author: stkhapugin@chromium.org <stkhapugin@chromium.org> Date: Thu Jul 12 13:35:49 2018 [iOS] Hide clear button when the textfield is empty. Makes UI Refresh omnibox hide the clear button when the textfield is empty. Bug: 854622 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I7905efa0c5ead8c7c2884c27474ec992b970355c Reviewed-on: https://chromium-review.googlesource.com/1122627 Reviewed-by: Justin Cohen <justincohen@chromium.org> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#574549} [modify] https://crrev.com/a0056ea7bc75754d4ac5388b0ee9108cc604945d/ios/chrome/browser/ui/omnibox/omnibox_view_controller.mm
,
Jul 12
,
Jul 17
Verified on chrome canary version 69.0.3494.0 on iPhone 8 plus, iPhone 6s plus with iOS 11.4.1, 12 beta 3; iPad pro with iOS 11.4.1. Clear button "x" is not displayed on clearing text in omnibox. |
||||
►
Sign in to add a comment |
||||
Comment 1 by pinkerton@chromium.org
, Jun 22 2018