Skip to content

Cannot read properties of undefined (reading 'useTheme') #11390

Closed
@ottosson

Description

@ottosson

Describe the bug

I randomly get this crash, reading useTheme from an undefined htEditor.
I'm using my own theme called "ht-theme-mytheme".
It happens when I run the hot.updateSettings function and it has happened for different settings, so I don't think it has anything to do with what is actually provided with updateSettings.

I'm as always unable to reproduce it in a consistent manner so I can't say when it happens...
Just want to put this here and hopefully someone else can join in on the discussion.

I have never had this problem before the new version (15.0.0) where theming is supported.

Video/Screenshots

Image

Provide a link to the demo with the bug reproduction

No response

Handsontable version

15.0.0

Framework version

No response

Your environment

Chromium

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions