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
If I scroll until my element is sticky, then reload the page, the StickyEvents.CHANGE event is triggered twice, with event.detail.isSticky being successively true and false, but not always in the same order.
It's an issue because I cannot rely on the last event being triggered on load.
It can be reproduced on your example page as well:
If I scroll until my element is sticky, then reload the page, the
StickyEvents.CHANGE
event is triggered twice, withevent.detail.isSticky
being successivelytrue
andfalse
, but not always in the same order.It's an issue because I cannot rely on the last event being triggered on load.
It can be reproduced on your example page as well:
console.log
s are not always called in the same order:Sometimes you have:
And sometimes you have:
The text was updated successfully, but these errors were encountered: