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
You see elementReady('#target') can't find the div#target element that it should do. This is repeatable on Chrome 76, Firefox 68 & Edge 18. The OS is Windows 10 x64 1903.
I have also included the fixed version for comparison.
The reason behind this is, the div#target element is placed near </html>. Before element-ready spots it, dom-loaded has cancelled requestAnimationFrame.
The text was updated successfully, but these errors were encountered:
Demo: https://riophae.github.io/element-ready-bug-reproduction/
You can find the source code at https://github.com/riophae/element-ready-bug-reproduction
You see
elementReady('#target')
can't find thediv#target
element that it should do. This is repeatable on Chrome 76, Firefox 68 & Edge 18. The OS is Windows 10 x64 1903.I have also included the fixed version for comparison.
The reason behind this is, the
div#target
element is placed near</html>
. Beforeelement-ready
spots it,dom-loaded
has cancelledrequestAnimationFrame
.The text was updated successfully, but these errors were encountered: