-
Notifications
You must be signed in to change notification settings - Fork 50
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
When switching a class on a parent element no resize happens. #124
Comments
I had the same problem, how did you finally solve it? |
If you use As for |
Would be ok with an imperative reference. Maybe a name like |
@jaredLunde Actually, why don't we use ResizeObserver? It got decent support unless we care about Internet Explorer and Opera Mini. |
Honestly I can't remember why. I have a comment about ResizeObserver in the code for this. Using it elsewhere in the library already. |
Describe the bug
When you switch a class on a parent element using one that changes size.
To Reproduce
Steps to reproduce the behavior:
Make it so that a class gets added that changes the size of a parent element.
Expected behavior
A resize should happen as the parent div is no longer the correct size.
The text was updated successfully, but these errors were encountered: