CrSearchFieldBehavior, placeholder not cleared when pasting text. |
||||
Issue descriptionRepro steps: 1) Copy some text to the system's clipboard. 2) Navigate to chrome://history 3) Right click within the search text field and paste. The text is placed on top of the placeholder text (see screenshot). Also clicking "x" does nothing until a left click is performed within the textbox. This is currently affecting MD History, but it soon also affect MD Settings (https://codereview.chromium.org/2064013002).
,
Jun 22 2016
,
Jun 22 2016
,
Jun 23 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7b28158033e882c541f6ff3dc0111b94f59a2ed0 commit 7b28158033e882c541f6ff3dc0111b94f59a2ed0 Author: tsergeant <tsergeant@chromium.org> Date: Thu Jun 23 02:54:00 2016 MD Search Field: Properly respond to external changes to search value. Ensures that when the search value is changed by something other than direct typing the search field will still open correctly. This fixes issues with dragging or pasting text into the input field. BUG= 616740 , 618633 , 622074 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2090513002 Cr-Commit-Position: refs/heads/master@{#401527} [modify] https://crrev.com/7b28158033e882c541f6ff3dc0111b94f59a2ed0/chrome/test/data/webui/cr_elements/cr_toolbar_search_field_tests.js [modify] https://crrev.com/7b28158033e882c541f6ff3dc0111b94f59a2ed0/ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js [modify] https://crrev.com/7b28158033e882c541f6ff3dc0111b94f59a2ed0/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html [modify] https://crrev.com/7b28158033e882c541f6ff3dc0111b94f59a2ed0/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js
,
Jun 23 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by tsergeant@chromium.org
, Jun 21 2016Components: UI>Browser>History
Owner: tsergeant@chromium.org
Status: Assigned (was: Untriaged)