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

Unable to use space bar on a text column when at least one column contains a checkbox #1199

Closed
cmaneu opened this issue Nov 27, 2013 · 2 comments
Labels

Comments

@cmaneu
Copy link

cmaneu commented Nov 27, 2013

Repro steps:

  1. Go to http://handsontable.com/demo/checkbox.html
  2. Click on any cell on car column,
  3. Try to type a text with spaces in it
  4. See that you can't :)

I suppose that the code handling checkbox trap space key press event on all columns, and not only on the columns with checkboxes.

@hutilicious
Copy link

Hi, Im working on a big project and I absolutely needed spacebar to work.
So actually I deleted the lines in jquery.handsontable.full.js:

4115 instance.addHook('beforeKeyDown', function(event){
if(event.keyCode == 32){ (...)

This works for me now! I dont need the ability to use spacebar to toggle checkboxes.

Btw, I found out there are problems because the event gets fired multiple times. So the checkbox gets checked on and off like 5 times..couldnt get that fixed.

@warpech
Copy link
Member

warpech commented Dec 29, 2013

This should be fixed in 0.10.0. Could you please recheck?

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

No branches or pull requests

4 participants