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

Scrollable: Invalid rerendering of scrollbars on content resize #27

Open
raveclassic opened this issue Dec 7, 2016 · 0 comments
Open
Labels

Comments

@raveclassic
Copy link
Member

raveclassic commented Dec 7, 2016

Seems like top top scrollable container is rerendered before E_SCROLLABLE.RESIZE is processed by scrollbars, so their sizes are invalid basing on previous size when removing one of scrollbars by shrinking content.

Note: to fix this it's better to pass recalculated size from top level container instead of forceUpdating inside scrollbars.

Update ResizeDetector under this ticket with react-resize-detector

@raveclassic raveclassic added the bug label Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant