Commit 9a60a25d authored by Joel Einbinder's avatar Joel Einbinder Committed by Commit Bot

DevTools: Fix focus when selecting to the left of treeitems

The mousedown listener in ElementsTreeOutline was moving focus, but
not consuming the event. The event then propagated to the treeoutline
element itself, which stole focus.

Change-Id: I2de2001175f4029cd94880297c460ff4c90b845a
Reviewed-on: https://chromium-review.googlesource.com/c/1387688Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618423}
parent a85ba634
......@@ -560,6 +560,7 @@ Elements.ElementsTreeOutline = class extends UI.TreeOutline {
return;
element.select();
event.consume(true);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment