Skip to content

Prevent sidebar change on window resize #675

@danielferrari-g2i

Description

@danielferrari-g2i

Thanks for this library!

I just saw this #195 and I wonder if with the newest version of the library is possible to have a sidebar that is dynamic , but we can also prevent it to change its size on window size change.

My workaround was adding a minSize and maSize of current size when not dragging the handler to avoid changing the size on windows change. The problem is that the drag handler doesnt expose the drag events , so I cant revert the minSize and maxSize before the drag starts with the old values.

Is there plans to maybe add this functionality in the library or at least expose the drag event callback via prop, so we can make this workaround work?

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions