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

Panels methods onResize and onCollapse are not triggered when setLayout is called #154

Closed
Sloebel opened this issue Jun 7, 2023 · 2 comments · Fixed by #158
Closed

Panels methods onResize and onCollapse are not triggered when setLayout is called #154

Sloebel opened this issue Jun 7, 2023 · 2 comments · Fixed by #158
Labels
bug Something isn't working

Comments

@Sloebel
Copy link
Contributor

Sloebel commented Jun 7, 2023

Hi,

On screen that I develop, I'm using the collapse feature, once I'm forcing a layout on the PanelGroup with the setLayout method, onResize or onCollapse methods on Panel are not triggered

4 Panels example:
while being in sizes state of [10, 20, 70, 0], I'm calling setLayout([10, 0, 45, 45])
the second Panel is not ware that he is in collapse state and the 4th Panel isn't aware that he is out from collapse state

any suggestions?

Thanx in advance

@Sloebel Sloebel changed the title onResize and onCollapse methods on Panel are not triggered when setLayout is called Panels methods onResize and onCollapse are not triggered when setLayout is called Jun 7, 2023
@bvaughn bvaughn added the bug Something isn't working label Jun 9, 2023
@bvaughn
Copy link
Owner

bvaughn commented Jun 10, 2023

Seems related to #123.

Not a high priority for me but I'd be willing to review a PR.

@bvaughn
Copy link
Owner

bvaughn commented Jun 11, 2023

I'll release this fix with 0.0.51 this morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants