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
Describe the bug
When you right-click outside of the canvas with xeokit while pressing the shift, the browser context menu will open. Once you're going back into the canvas, all controls will behave like shift is still pressed, even though you let go of it while pressing the context menu.
Fix: In the following code, keyboard button status is only updated if keyup is fired. keyupnever fires, if the users hits shift and then opens the context menu via right click (then the contextmenu event fires).
Describe the bug
When you right-click outside of the canvas with xeokit while pressing the shift, the browser context menu will open. Once you're going back into the canvas, all controls will behave like shift is still pressed, even though you let go of it while pressing the context menu.
Fix: In the following code, keyboard button status is only updated if
keyupis fired.keyupnever fires, if the users hits shift and then opens the context menu via right click (then thecontextmenuevent fires).xeokit-sdk/src/viewer/scene/input/Input.js
Lines 1067 to 1082 in e9c8daf
To Reproduce
Screen.Recording.2025-11-05.at.12.19.08.mov
Desktop (please complete the following information):