NativeScript / nativescript-ui-charts

NativeScript wrapper around HiCharts library
Apache License 2.0
26 stars 6 forks source link

Chart crash on iOS when using it in the TabView #38

Closed boris01 closed 2 years ago

boris01 commented 2 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Describe the steps to reproduce it. ns create testApp Choose Angular Choose Tabs

ns plugin add @nativescript/ui-charts Add the chart to one of the tabs (with module imports) ns run ios Go to the tab of charts

Result: Fatal JavaScript exception - application has been terminated. NativeScript encountered a fatal error: Uncaught RangeError: Maximum call stack size exceeded at getVisibleViewController(file: src/webpack:/nsChartsError/node_modules/@nativescript/ui-charts/ui-charts.ios.js:88:0) at getVisibleViewController(file: src/webpack:/nsChartsError/node_modules/@nativescript/ui-charts/ui-charts.ios.js:98:0)

Is there any code involved?

nsChartsError.zip