bvaughn / react-resizable-panels

https://react-resizable-panels.vercel.app/
MIT License
3.58k stars 124 forks source link

Feature Request: Size stepping #324

Closed garrettg123 closed 3 months ago

garrettg123 commented 3 months ago

I'm not sure if this is possible, but is it possible to require a step size? For example, for a step size of 10, until I drag from size 20 to 25, it doesn't show the next step (30).

Great work!

bvaughn commented 3 months ago

I think that would be possible to implement, but I have some reservations about the UX. (I think it might feel kind of broken/unresponsive?) Realistically, this isn’t a feature that I have the time to build and maintain.

If you’d like to fork and add this feature I could give a few pointers/suggestions on how you might go about it though.

Thanks for understanding 🙇