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

Bug when last panel has a minSize #215

Open
T0miii opened this issue Dec 17, 2024 · 1 comment
Open

Bug when last panel has a minSize #215

T0miii opened this issue Dec 17, 2024 · 1 comment

Comments

@T0miii
Copy link

T0miii commented Dec 17, 2024

Currently there is a bug when the last Pane has a min-size.
After reaching the threshold the pane will jump to a random position and removed the calculated sizes from the other panes.

  <splitpanes class="default-theme"  style="height: 400px">
    <pane >
      <span>1</span>
    </pane>
    <pane>
      <span>2</span>
    </pane>
    <pane max-size="70" min-size="20">
      <span>3</span>
    </pane>
  </splitpanes>

splitterbug

@T0miii
Copy link
Author

T0miii commented Dec 17, 2024

so i did a bit of a digging and there .value access on a non ref variable in the doPushOtherPanes function

image

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

No branches or pull requests

1 participant