Skip to content

TypeError: Attempted to assign to readonly property #19516

@abaluta

Description

@abaluta

Expected behaviour

No errors

Actual behaviour

When the option styledMode is true
JavaScript error: TypeError: Attempted to assign to readonly property.

Live demo with steps to reproduce

https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/prefers-color-scheme
Enable or disable charts: {styledMode: true|false}

Product version

Highcharts

Affected browser(s)

Safari (Version 16.6 (18615.3.12.11.2))

Discussion of the error on the forum

https://www.highcharts.com/forum/viewtopic.php?f=12&t=50680&sid=9eb5202e6c8ab7f3fde9e4279f785e88

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions