Skip to content

[Bug] TypeError: Cannot read properties of null (reading 'remove') #18889

@olegdovger

Description

@olegdovger

Version

5.4.2

Link to Minimal Reproduction

Not possible

Steps to Reproduce

  1. Create custom series type.
  2. Create legend with data item to be able to hide/show custom series.
  3. Toggle on legend item.
  4. See exception "TypeError: Cannot read properties of null (reading 'remove')"

This issue is hard to reproduce. Maybe it have no sense to reproduce it.

Current Behavior

image

Can not call method "remove" on null value of parent property.

Expected Behavior

There are no unhandled exceptions.

Environment

- OS: Mac OS
- Browser: Chrome
- Framework: -

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in English

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions