Skip to content
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

Slow automatically resize on show/hide sidebar (CoreUI) #141

Closed
dolgovnv opened this issue Sep 21, 2018 · 1 comment · Fixed by #271
Closed

Slow automatically resize on show/hide sidebar (CoreUI) #141

dolgovnv opened this issue Sep 21, 2018 · 1 comment · Fixed by #271

Comments

@dolgovnv
Copy link

When I run the demo and change the size of the browser window - the chart automatically resize quite quickly.
However, when I hide or show the sidebar, the chart automatically resize very slowly (10-15 seconds).
Screenshots:
2018-09-21 13-49-03
2018-09-21 13-49-17

Can you tell me how to speed up the automatically resize?

@xieziyu
Copy link
Owner

xieziyu commented Sep 21, 2018

@dolgovnv
One way is to manually trigger angular change detection on the page component when sidebar is toggled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants