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
There appears to be some weird event shenanigans going on in the live editor. When the pointer is locked to the canvas, and its theoretical position passes outside the canvas, wheel events can no longer be canceled to prevent the page from scrolling. This seems to be worse in Chrome, but occasionally happens in Firefox as well.
To reproduce, visit this demo and click the canvas to lock the pointer. Test to see that scrolling is disabled. Then move the pointer (red dot) off the edge of the canvas and scroll again. The page will move.
To test if this was a browser bug or KA bug, I downloaded the page source and ran it in a file. Most of the page scripts failed to load, and the bug was no longer present, so I assume that means it's being caused by some JS running on the page. If you think I should report this on the Chromium bug tracker instead, let me know.
The text was updated successfully, but these errors were encountered:
There appears to be some weird event shenanigans going on in the live editor. When the pointer is locked to the canvas, and its theoretical position passes outside the canvas, wheel events can no longer be canceled to prevent the page from scrolling. This seems to be worse in Chrome, but occasionally happens in Firefox as well.
To reproduce, visit this demo and click the canvas to lock the pointer. Test to see that scrolling is disabled. Then move the pointer (red dot) off the edge of the canvas and scroll again. The page will move.
To test if this was a browser bug or KA bug, I downloaded the page source and ran it in a file. Most of the page scripts failed to load, and the bug was no longer present, so I assume that means it's being caused by some JS running on the page. If you think I should report this on the Chromium bug tracker instead, let me know.
The text was updated successfully, but these errors were encountered: