Skip to content
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

cmd+c scrolls at the bottom of the page #157

Open
tbarbugli opened this issue Dec 1, 2014 · 2 comments
Open

cmd+c scrolls at the bottom of the page #157

tbarbugli opened this issue Dec 1, 2014 · 2 comments

Comments

@tbarbugli
Copy link

when I try to copy some text (OSX) the page scrolls down; eg. http://dobyjs.com/#grid-options-rowBasedSelection

@tbarbugli
Copy link
Author

after bit of digging, it seems the problem is related to the text area trick (copySelected). my guess is that focusing that element causes the page to scroll to here the element is added.

@EvHaus
Copy link
Owner

EvHaus commented Dec 1, 2014

Yeah, in order to properly support keyboard shortcuts DobyGrid has to steal focus from the page, which sometimes means that it causes the browser to scroll to that position. I'm sure there are ways we can fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants