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

Sidebar collapse state change allows react-grid-layout to be recalculated #5832

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

abhi12299
Copy link
Contributor

Summary

When the sidebar docks/undocks, the dashboard's grid layout didn't get adjusted to the remaining/extra width as a result of the operation. This is fixed with this PR by manually dispatching a resize event on sidebar collapse state change.

Related Issues / PR's

Fixes #5779

Screenshots

fix.mov

@abhi12299
Copy link
Contributor Author

@YounixM please review

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 this pull request may close these issues.

Bug while docking undocking sidebar in dashboards
1 participant