-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Laggy animation when (un)collapsing cards #20600
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
Comments
Can confirm! (Same OS/Browser) |
Same thing using Chrome on a late 2012 iMac. |
Can we blame the browser vendors, or is a legit reason for |
The problem doesn't appear if you either set It might be a calculating issue in the collapse.js |
I have seen the same thing many times on many different websites with varying implementations. I'd go as far as saying that wrapper elements would be a good use case for animations when padding is concerned. |
We can blame them, but it's an issue with how they height is being calculated. It pulls the height, then adds/removes the padding I believe. This has been a problem for us since we coded v3 fwiw. Fix inbound though. |
OS: Ubuntu 14.04, Browser: Firefox 48 (but browser independent)
When opening/closing nested cards, the animation is choppy due to the
.card-block{ padding:1.25rem; }
https://jsbin.com/geyenovizo/edit?html,output
The text was updated successfully, but these errors were encountered: