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

Calling updateSettings within the hook produces error and does not show menu at all #9648

Open
AMBudnik opened this issue Jul 13, 2022 · 2 comments

Comments

@AMBudnik
Copy link
Contributor

Description

Calling updateSettings within the hook produces error and does not show menu at all

Steps to reproduce

  1. Open any column in the example
  2. You will get no response at first, so try again
  3. If you try again, you get the following error. In both cases, the menu does not open.
handsontable.full.js:7016 Uncaught TypeError: Cannot read properties of null (reading 'eventListeners')
    at EventManager.addEventListener (handsontable.full.js:7016:20)
    at Menu.menuItemRenderer (handsontable.full.js:56935:27)
    at renderer (handsontable.full.js:56270:27)
    at handsontable.full.js:55659:11
    at arrayEach (handsontable.full.js:1382:9)
    at handsontable.full.js:55644:30
    at Map.forEach (<anonymous>)
    at GhostTable.createCol (handsontable.full.js:55643:20)
    at GhostTable.addColumn (handsontable.full.js:55421:41)
    at handsontable.full.js:141278:38

Demo

http://jsfiddle.net/vugcaL36/ v12

Your environment

  • Handsontable version: 12.1.2
    This issue does not seem to be a regression
  • Browser name and version: Chrome 103
  • Operating system: macOS Monterey

Inform forum

@rhysmansfield
Copy link

Anything on this guys?

@adrianszymanski89
Copy link
Contributor

Hi @rhysmansfield

Not yet. Any updates will be visible in this issue.

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

3 participants