Panel sometimes gets pushed underneath gutter
See original GitHub issueI haven’t tested this much, but it seems that depending on the gutter width and the window width, sometimes the panel width plus gutter width adds up to more than 100%, which ends up pushing the panel underneath the gutter.
Consider a case with two panels that are split next to each other. For me, this has happened only when collapsing the left panel all the way to 0. Curiously, collapsing the right pane completely did not reproduce the issue.
Initial state:
↓ gutter
xxxxxxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx
x | x
x left panel | right panel x
x | x
xxxxxxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxx
Then I drag the gutter all the way to the left, which hides the left panel.
Desired result:
↓ gutter (left panel hidden)
| xxxxxxxxxxxxxxxxxx
| x
| right panel x
| x
| xxxxxxxxxxxxxxxxxx
Actual result:
↓ gutter (left panel hidden)
|
|
|
|
|
xxxxxxxxxxxxxxxxxx
x
right panel x (right panel pushed underneath gutter)
x
xxxxxxxxxxxxxxxxxx
The thing about the gutter and the right panel adding up to more than 100% width is just my initial intuition and it could obviously be something else altogether.
For now, my temporary solution was to set the gutter width to one pixel smaller using css:
.gutter.gutter-horizontal {
width: 9px !important;
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Ok, thanks, I was able to reproduce. Will have a fix shortly. Sorry about that.
Released in 1.3.5. Thanks!