-
Notifications
You must be signed in to change notification settings - Fork 16
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
ResizeObserver #120
ResizeObserver #120
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
Passing run #65 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this seems smart 👍, just some little tweaks that you can batch apply within GitHub. Then I'll merge and tag it.
Co-authored-by: Robert Reinhard <robert.reinhard@bukwild.com>
✅ Deploy Preview for vue-ssr-carousel ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Co-authored-by: Robert Reinhard <robert.reinhard@bukwild.com>
Co-authored-by: Robert Reinhard <robert.reinhard@bukwild.com>
@weotch I've committed those suggestions |
@weotch check this out. I found that ditching window.resize and using resize observer helps with the following issue:
With this resizeObserver, it listens for dimension changes on the el, rather than window, so it works the same as before, but additionally will re-calc when it changes separately from the window size
https://caniuse.com/resizeobserver