Chromium Code Reviews
DescriptionMD WebUI: rework how clearing search works
Previously, when clicking (X) to clear search text, the search field
closed / hid its UI. It should just clear the text, as it says.
Pressing Esc should continue to clear+close completely, though.
Additionally, we should only show (x) when there's text to hide.
We should also re-focus the search when (x) is clicked (otherwise
focus gets dropped).
R=tsergeant@chromium.org
BUG=611315
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/7638d4b996143a2e38869215426720de854dd818
Cr-Commit-Position: refs/heads/master@{#407836}
Patch Set 1 #Patch Set 2 : cherry-pick #
Total comments: 2
Patch Set 3 : hide (x) #
Total comments: 2
Patch Set 4 : tsergeant@ review #
Dependent Patchsets: Messages
Total messages: 24 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||