Skip to content

[12.0.0+] normalizeEventKey error (key.toLowerCase) #9562

@Mir0ke

Description

@Mir0ke

Description

Handsontable 11 was working fine.
But Handsontable 12.01 now has this issue.
There is no treatment for a nullable key.
Forcing toLowerCase is causing this error.

Steps to reproduce

  1. handsontable\shortcuts\utils.mjs
  2. Add handsontable to your page.
  3. Add an input text field to your page.
  4. Just using your mouse, click inside your input text field and select a value based in your web browser history.
  5. Because no keys were used, handsontable produces this console error.

Demo

https://jsfiddle.net/handsoncode/c6rgz08x/

Your environment

  • React wrapper version: 18.1.0
  • Handsontable version: 12.0.1
  • Browser name and version: Chrome 102
  • Operating system: Windows 10

Metadata

Metadata

Assignees

Labels

RegressionIssues that were created while adding new changes to the source codeStatus: Releasedbug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions