zesik / react-splitter-layout

A simple split layout for React and modern browsers. https://zesik.com/react-splitter-layout
MIT License
428 stars 131 forks source link

Question: Hide pane #27

Closed aniov closed 6 years ago

aniov commented 6 years ago

How can I hide a pane but the component inside can still be rendered? Something like

<SplitterLayout primaryIndex={0}>
  <div hidden={true}>to be hidden</div>
  <div>2nd</div>
</SplitterLayout>

Thank you.

aniov commented 6 years ago

Resolved.

swyxio commented 6 years ago

lol why not post the answer? dont be DenverCoder9

aniov commented 6 years ago

I had to modify -SplitterLayout- and -Pane- component's code, so I don't think It can provide any help for others.