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

Fix reference error of resize observer #55

Merged
merged 2 commits into from
Apr 28, 2023

Conversation

lucasweng
Copy link
Contributor

Closes #5

Per #5 (comment), if ResizeObserver doesn't exist, silently ignore ResizeObserver for production builds and provide a warning message for development.

@vercel
Copy link

vercel bot commented Apr 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-wrap-balancer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2023 5:17pm

Copy link
Owner

@shuding shuding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@shuding shuding merged commit e10ede1 into shuding:main Apr 28, 2023
@lucasweng lucasweng deleted the fix/resize-observer-reference-error branch April 28, 2023 17:27
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 this pull request may close these issues.

Safari Error: ReferenceError: Can't find variable: ResizeObserver —
2 participants