zesik / react-splitter-layout

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

Question: Hide pane #27

Closed aniov closed 5 years ago

aniov commented 5 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 5 years ago

Resolved.

swyxio commented 5 years ago

lol why not post the answer? dont be DenverCoder9

aniov commented 5 years ago

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