You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We listen to the 'scroll' and 'resize' events on the 'scrollableParent' element, which is sometimes the window. However, the 'resize' event is only triggered on the window element, so we may not catch it in cases that the 'scrollableParent' is not the window.
It seems safer to listen to the 'resize' event always on the window, rather than the scrollable parent.
The text was updated successfully, but these errors were encountered:
We listen to the 'scroll' and 'resize' events on the 'scrollableParent' element, which is sometimes the window. However, the 'resize' event is only triggered on the window element, so we may not catch it in cases that the 'scrollableParent' is not the window.
It seems safer to listen to the 'resize' event always on the window, rather than the scrollable parent.
The text was updated successfully, but these errors were encountered: