-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Jogging with keyboard causes page to scroll #6
Comments
Give it a try, but the way I solve it is by making sure no widgets are off On Thu, Jun 16, 2016 at 12:45 AM, David Liu [email protected]
|
How about preventing default browser action when the Axes widget is getting focused? For example: window.addEventListener('keydown', function(e) { // arrow keys
if([37, 38, 39, 40].indexOf(e.keyCode) > -1) {
e.preventDefault();
}
}, false); |
That's a great idea. Would it be possible for you to fork the github, make On Wed, Jun 22, 2016 at 4:32 AM, Cheton Wu [email protected] wrote:
|
Sure! I can create a PR once I confirmed it works from my side. :) |
On http://chilipeppr.com/jarret and /grbl, I noticed that if the window is larger than the page dimensions, jogging with the keyboard scrolls the page, which is kind of jarring. Can we lock the page scroll and capture the arrow keypresses when the jog command is active?
The text was updated successfully, but these errors were encountered: