-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing angular route can cause continuous script errors if a toolbar is shown. #62
Comments
Interesting thanks for reporting this. Do have a fiddle for just using a vanilla highcharts object as you mentioned? |
I don't but it would be very easy to do. If you can wait until tomorrow,
|
Here is a JS Fiddle without the highcharts-ng directive. |
Raised: highcharts/highcharts#2616 |
Luke could you test the recent fix in Highcharts? |
Looks like this issue has been resolved now. |
When a tooltip is showing and starts to fade away, if you navigate to a different route then a script error occurs. This script occurs in a timeout loop and thus the same script error occurs every X milliseconds.
I'm assuming this is due to the fade-out animation trying to continue to fade after the angular routing has already removed the toolbar element from the dom.
I've made a JS Fiddle that demonstrates this.
To see whether this was a highcharts issue or a highcharts-ng issue, I removed the directive and used the typical Highcharts.chart() function and this error did not occur. It seems that perhaps highcharts-ng might need to handle this scenario.
If you need more info, please ask. The JS Fiddle has some reproduction steps.
The text was updated successfully, but these errors were encountered: