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

hideLoading doesn't work right after calling showLoading function in styled mode #5850

Closed
stpoa opened this Issue Oct 20, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@stpoa

stpoa commented Oct 20, 2016

Expected behaviour

Chart should hide loading overlay after calling hideLoading function.

Actual behaviour

Chart doesn't hide loading overlay after calling hideLoading function.

Live demo with steps to reproduce

Does't work:
https://jsfiddle.net/ez0m9qsq/

It works if hideLoading is wrapped in setTimeout()
https://jsfiddle.net/ez0m9qsq/1

It may be caused by using setTimeout function in showLoading function implementation.

@stpoa stpoa changed the title from hideLoading doesn't work right after calling showLoading function to hideLoading doesn't work right after calling showLoading function in styled mode Oct 20, 2016

@KacperMadej KacperMadej added the Bug label Oct 20, 2016

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Oct 20, 2016

Contributor

Internal note: The setTimeout runs after chart.hideLoading(); in case there is:

chart.showLoading();
chart.hideLoading();
Contributor

KacperMadej commented Oct 20, 2016

Internal note: The setTimeout runs after chart.hideLoading(); in case there is:

chart.showLoading();
chart.hideLoading();
@newlukai

This comment has been minimized.

Show comment
Hide comment
@newlukai

newlukai Oct 20, 2016

Thanks for opening this one.

newlukai commented Oct 20, 2016

Thanks for opening this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment