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

Splitter: minSize broken #4652

Closed
Rakasch opened this issue Oct 19, 2023 · 0 comments · Fixed by #4660
Closed

Splitter: minSize broken #4652

Rakasch opened this issue Oct 19, 2023 · 0 comments · Fixed by #4660
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Rakasch
Copy link
Contributor

Rakasch commented Oct 19, 2023

Describe the bug

I have three SplitterPanels within a vertical Splitter. Only the middle panel, Panel 2 has a minSize.
The upper gutter is working fine. The lower gutter not.
If you drag thw lower gutter, minSize is applied to Panel 3 instead of Panel 2.
If you drag the lower gutter up, minSize is not working for Panel 2.
If you drag the lower gutter down, the minSize is applied to Panel 3, which does not have a minSize.

Reproducer

https://stackblitz.com/edit/lsrnxm?file=src%2FApp.vue

PrimeVue version

3.37.0

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

go to reproducer
drag the lower gutter up or down
minSize is applied to Panel 3 instead of Panel 2

Expected behavior

minSize should work for Panel 2 only. and for both gutters.

@Rakasch Rakasch added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 19, 2023
FlipWarthog added a commit to FlipWarthog/primevue that referenced this issue Oct 19, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 20, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.38.0 milestone Oct 20, 2023
tugcekucukoglu added a commit that referenced this issue Oct 20, 2023
Fix #4652 - Splitter: minSize broken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants