Unplanned
Last Updated: 08 Jul 2025 09:07 by ADMIN
Created by: Tim
Comments: 1
Category: Splitter
Type: Feature Request
1
I would like to be able to customize the collapse action on a splitter pane. The specific use case is to be able to collapse a splitter to a minimum width, and when it is at the minimum width the collapse icon switches to expand. I have been able to create a workaround by intercepting the state change and setting a pane to a minimum width when the collapsed property changes. It requires some complex state checking code, and there is no way to switch the icon. There are a number of ways that this could be accomplished by exposing more props to give developers more flexibility with the collapse icon click. Thanks.
Unplanned
Last Updated: 06 Jun 2024 07:28 by ADMIN
Created by: Youniss
Comments: 1
Category: Splitter
Type: Feature Request
0

I am using the Splitter component and it would be great if the Splitter allows the user to set its width (or other dimensions) in rems (e.g. 20rem).

For example:

const [horizontalPanessetHorizontalPanes] = React.useState<Array<any>>([
    { size: '20%'min: '20rem' },
    {},
    { size: '20%' },
  ]);