Skip to content

Does not work on Safari: Polyfill not injecting? #10

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

Open
xndyz opened this issue Mar 10, 2020 · 1 comment
Open

Does not work on Safari: Polyfill not injecting? #10

xndyz opened this issue Mar 10, 2020 · 1 comment

Comments

@xndyz
Copy link

xndyz commented Mar 10, 2020

At least for Safari. Usage is like this:

import ResizeObserver from 'resize-observer-polyfill'
...
  const [ref, bounds] = useMeasure({
    polyfill: ResizeObserver,
  })
@xndyz xndyz changed the title Polyfill not injecting Does not work on Safari: Polyfill not injecting? Mar 10, 2020
@ositowang
Copy link

I have the same issue with safari polyfill issue.. Have you found a solution for that

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

2 participants