mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
reobserve elements when children change (#54827)
This commit is contained in:
parent
762432a921
commit
8e8d0a08f9
@ -57,7 +57,7 @@ export const ToolbarButtonRow = forwardRef<HTMLDivElement, Props>(
|
||||
});
|
||||
}
|
||||
return () => intersectionObserver.disconnect();
|
||||
}, []);
|
||||
}, [children]);
|
||||
|
||||
return (
|
||||
<div ref={containerRef} className={cx(styles.container, className)} {...rest}>
|
||||
|
Loading…
Reference in New Issue
Block a user