-
Notifications
You must be signed in to change notification settings - Fork 4
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
Padding causes studders if the intial state is closed in 3.0.1 #16
Comments
@mrkmiller Fixed in 3.2.1 |
Thanks for the work... but unfortunately this still appears to be a problem in 3.2.2. I created a codepen to demo content using no padding vs having padding. |
Actually, this appears to only be an issue within Firefox now. Chrome is working fine. |
Hi @mrkmiller. I ported this library to the Animation API (https://github.com/zgrybus/slideToggle/releases/tag/v4.0.0). Can you check if this issue still occurs? show and hide should be fixed. My guess is that this switch still has a bug which I will fix in the next version (v4.0.1) |
Padding on the element being toggled now causes problems in 3.0.1 if the initial state is closed.
How to reproduce:
.section .toggle-list .toggled-list-element
and add a top and bottom padding of 100px.Instead of slowly sliding all content open, it will immediately display all content based on the height of the combined padding before sliding open the rest.
The text was updated successfully, but these errors were encountered: