-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onResize returns percentages instead of pixels when pixels are used #180
Comments
I'm also experiencing this problem. Is there an estimated time this will get addressed? |
No. This is not a for-profit package so there's no SLA 😉 It should be fixed once I have time to finish #182 |
No worries thank you! 👍🏽 |
This has been resolved by #182 which I plan to publish later this afternoon. The type MixedSizes = {
sizePercentage: number;
sizePixels: number;
}
onResize(
current: MixedSize,
prev: MixedSize)
); |
https://codesandbox.io/s/react-resizable-panels-forked-z3hp8h?file=/src/App.js
The text was updated successfully, but these errors were encountered: