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

In IE, it's unable to edit cell value when not in the edit mode #99

Open
souppower opened this issue Jun 5, 2018 · 0 comments
Open

Comments

@souppower
Copy link

Env: IE11 (Windows 7)

How to reproduce

  • First click on a cell, and type something.
  • Then, click on another cell. This, in effect, releases the currently selected cell, and chooses a new cell.

The newly selected cell doesn't accept whatever value you type in.
Clicking on the cell one more time, however, enables you to edit the cell.

Quick fix

Not sure if this is the best fix, but it seems to work.

Add this somewhere In onMouseDown in Datasheet.js

document.addEventListener('keydown', this.handleKey)

Add this somewhere In handleKey in Datasheet.js

document.removeEventListener('keydown', this.handleKey)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant