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
I found that if I changed element.addEventListener('scroll', scrollListener, true); to element.addEventListener('scroll', scrollListener);, the "scroll" event would not be triggered.
So Why the "scroll" event can't be triggered during the bubbling phase?
The text was updated successfully, but these errors were encountered:
javascript-detect-element-resize/detect-element-resize.js
Line 125 in 1b79a1a
I found that if I changed
element.addEventListener('scroll', scrollListener, true);
toelement.addEventListener('scroll', scrollListener);
, the "scroll" event would not be triggered.So Why the "scroll" event can't be triggered during the bubbling phase?
The text was updated successfully, but these errors were encountered: