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

Can't edit cell that is outside of the viewport #1035

Closed
warpech opened this issue Sep 12, 2013 · 2 comments
Closed

Can't edit cell that is outside of the viewport #1035

warpech opened this issue Sep 12, 2013 · 2 comments

Comments

@warpech
Copy link
Member

warpech commented Sep 12, 2013

Since version 0.9.10 there is an error thrown, when you try to edit cell that is outside of the viewport.

Steps to reproduce (tested in Chrome, same in other browsers):

  1. Go to http://handsontable.com/demo/scroll.html
  2. Select cell "A0" in the first table
  3. Scroll the table so that "A0" becomes invisible (is outside of the viewport)
  4. Press enter

An error will show up:

Uncaught TypeError: Cannot read property 'offsetLeft' of null jquery.handsontable.full.js:8542
WalkontableDom.offset jquery.handsontable.full.js:8542
HandsontableTextEditorClass.refreshDimensions jquery.handsontable.full.js:4015
HandsontableTextEditorClass.beginEditing jquery.handsontable.full.js:3998
beforeKeyDownHook jquery.handsontable.full.js:3956
Handsontable.PluginHookClass.PluginHookClass.run jquery.handsontable.full.js:4974
instance.PluginHooks.run jquery.handsontable.full.js:2689
onKeyDown jquery.handsontable.full.js:1351
x.event.dispatch jquery.min.js:5
v.handle
@warpech
Copy link
Member Author

warpech commented Sep 12, 2013

It was broken in revision 16ace34

@warpech
Copy link
Member Author

warpech commented Sep 18, 2013

Fixed in 0.9.18

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