mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
* Invoke setScrollTop callback only after scrolling finishes When the state is updated while scroll events are being dispatched (like in QueryGroup) it may cause resetting the scroll position to the first emitted event because setting the scroll happens only after render (useEffect). * Memoize onScrollStop callback |
||
---|---|---|
.. | ||
components | ||
state |