You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have prepared a workaround for this bug. You can find it in the demo below. If you want to use it in your project for now you can just copy-paste the IIFE function.
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
The text was updated successfully, but these errors were encountered: