Skip to content

Resizing window does not effect split panes #12

@sebmck

Description

@sebmck

Right now if you have:

 <Split width="100vw">
      <Split.Pane initialWidth={250}>
        Left
      </Split.Pane>

      <Split.Resizer />

      <Split.Pane grow>
        Right
      </Split.Pane>
</Split>

And then resize the window, you are able to increase the size, but you cannot resize it smaller than the width on first render.

I believe this could be addressed with a resize listener somewhere or even a ResizeObserver..

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions