Skip to content
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] useMeasure() ResizeObserver.observe() option argument support #2501

Open
kkimdev opened this issue Jun 3, 2023 · 2 comments

Comments

@kkimdev
Copy link

kkimdev commented Jun 3, 2023

ResizeObserver.observe() has options https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe , but that's not configurable from useMeasure() currently.

My usecase is using border-box option.

@arnaugomez
Copy link

I can take care of that. I will create a PR soon.

@childrentime
Copy link

use this. https://www.reactuse.com/useMeasure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants