splitpanes icon indicating copy to clipboard operation
splitpanes copied to clipboard

Disable drag

Open sbahr001 opened this issue 6 years ago • 6 comments

Is it possible to disable dragging or make some panes fixed?

I have a hack for a 3-panel layout(horizontal, 2 vertical) that makes the horizontal pane fixed:

 <splitpanes horizontal>
      <div splitpanes-default="5" splitpanes-min="5" splitpanes-max="5"></div>
      <splitpanes vertical @resize="resizeComponents()" splitpanes-default="100">
        <Component></Component> 
        <Component></Component>
      </splitpanes>
    </splitpanes>
  </div>
.splitpanes--horizontal > .splitpanes__splitter,
  .splitpanes--horizontal > .splitpanes__splitter {
    min-height:0px;
    max-height:0px;
  }

sbahr001 avatar Feb 20 '19 03:02 sbahr001

Hi @sbahr001, this is currently not possible, I will keep this feature in mind for the next versions.

antoniandre avatar Feb 25 '19 04:02 antoniandre

Is this feature now available ? :)

MentalGear avatar Oct 18 '20 11:10 MentalGear

I'm also looking forward for this feature!

zhangbaojia avatar Dec 06 '21 06:12 zhangbaojia

same

ishaiavrahami avatar Dec 28 '22 19:12 ishaiavrahami

Also looking for this feature

vitalii-bulyzhyn avatar Feb 21 '23 15:02 vitalii-bulyzhyn