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

Readme should indicate that ResizeObserver is optional #24

Open
mmiller42 opened this issue Jan 10, 2020 · 0 comments · May be fixed by #27
Open

Readme should indicate that ResizeObserver is optional #24

mmiller42 opened this issue Jan 10, 2020 · 0 comments · May be fixed by #27

Comments

@mmiller42
Copy link

In index.js, the hook falls back to using window.addEventListener('resize') if ResizeObserver is not available in the current browser. Therefore, it should be noted that you don't in fact require the polyfill to use this hook.

@osdiab osdiab linked a pull request Mar 4, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant