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

forceRender() doesn't update column width according to remaining space #1247

Open
daymoz opened this issue Dec 6, 2022 · 1 comment
Open
Labels
bug fix Something isn't working

Comments

@daymoz
Copy link

daymoz commented Dec 6, 2022

I'm using customEvent when my sidebar is shrunk or expanded.
When event is dispatched I use .forceRender() method to update grid layout because it overflows in the page, but it doesn't work.

When I reload page, whether the menu is shrunk or expanded, the grid displays and column widths are calculated correctly so it does not overflow.

I don't know what I'm missing here, maybe recalculate column width is not part of forceRender method ?

@afshinm
Copy link
Member

afshinm commented Jan 10, 2023

@daymoz could you pull this branch #1267 and test? I believe that branch should address this issue.

@afshinm afshinm added the bug fix Something isn't working label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants