Skip to content

Commit 16ee2a9

Browse files
pfaffeDevtools-frontend LUCI CQ
authored andcommitted
[css value tracing] No initial focus when showing trace tooltip
Fixed: 404535428 Change-Id: Ib6059ea7d278a172dc1e0880582a1a94bd255859 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6372801 Reviewed-by: Eric Leese <[email protected]> Commit-Queue: Philip Pfaffe <[email protected]>
1 parent f34da11 commit 16ee2a9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

front_end/panels/elements/StylePropertyTreeElement.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,6 @@ function getTracingTooltip(
261261
computedStyles));
262262
}
263263
}}
264-
@toggle=${function(this: Tooltips.Tooltip.Tooltip,e: ToggleEvent) {
265-
if (e.newState === 'open') {
266-
(this.querySelector('devtools-widget') as UI.Widget.WidgetElement<CSSValueTraceView>| null)
267-
?.getWidget()
268-
?.focus();
269-
}
270-
}}
271264
><devtools-widget
272265
@keydown=${(e: KeyboardEvent) => {
273266
const maybeTooltip = (e.target as Element).parentElement ;

0 commit comments

Comments
 (0)