-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Feature Request] useSize() options
support
#2227
Comments
It's a great suggestion, we'll add it in the future version. |
ahooks relies on the |
但这是一个Break change。原因是 |
Get! 感谢你提供的参考建议~ |
ResizeObserver.observe() has
options
https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe , but that's not configurable from useSize() currently.My usecase is using
border-box
option.The text was updated successfully, but these errors were encountered: