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
scrollPositionX is not working after a reflow() #13778
Comments
Any updates on this? Or a workaround? |
Workaround - set the scroll position after the reflow. Update: the issue is still showing for v9.0.1. @DanLepsa Please try the workaround and let us know if this works correctly for you or is there any problem with it. |
@KacperMadej Unfortunately that doesn't work in my case, as the container has 100% width. Also in your case, it seems like you can simply set the reflow prop to false. |
@DanLepsa
To recreate the problem? As a workaround? I have tested the |
@KacperMadej As a workaround, because even in the case of a window resize the scrollPositionX would be ignored. In my case upgrading to the latest version (9.0.1) solved the issue (as in the workaround works) 👍 |
Internal note: |
Expected behaviour
scrollPositionX
should be respected, even after calling thechart.reflow
Actual behaviour
After calling
chart.reflow
with a delay chart is no longer respectingscrollPositionX
property (scrollbar is no longer aligned to the right side)Live demo with steps to reproduce
https://jsfiddle.net/BlackLabel/mwvou9sc/
Product version
8.1.2
Affected browser(s)
All
The text was updated successfully, but these errors were encountered: