Chromium Code Reviews
DescriptionMD Bookmarks: Focus sidebar nodes on click without showing an outline
Previously, clicking on a node in the MD Bookmarks sidebar would select
that folder without actually focusing the element. It was necessary to
click a second time to actually give focus and allow keyboard navigation.
This CL fixes this by pulling out the code from <bookmarks-item> that
prevents outlines from showing on click into a shared behavior.
Implementing this behavior improves keyboard navigation in the sidebar
without affecting mouse-only users.
BUG=692844
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2920413002
Cr-Commit-Position: refs/heads/master@{#477916}
Committed: https://chromium.googlesource.com/chromium/src/+/3c550cc85921ba59fdb1ef2655a8bd861f351174
Patch Set 1 #Patch Set 2 : Rewrite to use a function rather than a property #
Total comments: 6
Patch Set 3 : Rebase #Patch Set 4 : Review comments #
Total comments: 2
Patch Set 5 : Fix override comment #Messages
Total messages: 19 (12 generated)
|