perf: clean resource popover focus frame effect (#4018)
This commit is contained in:
parent
aed7703d30
commit
5c072cbff2
|
|
@ -714,8 +714,6 @@ export function ResourceUsageStatusSegment({
|
|||
popoverBodyFocusFrameRef.current = null
|
||||
}, [])
|
||||
|
||||
useEffect(() => cancelPopoverBodyFocusFrame, [cancelPopoverBodyFocusFrame])
|
||||
|
||||
const setPopoverBodyNode = useCallback(
|
||||
(node: HTMLDivElement | null): void => {
|
||||
// Why: the queued post-kill focus is only valid while the popover body exists.
|
||||
|
|
|
|||
Loading…
Reference in New Issue