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

!important on .hide overrides jquerys toggle functions #10321

Closed
ShaunR opened this issue Aug 31, 2013 · 1 comment
Closed

!important on .hide overrides jquerys toggle functions #10321

ShaunR opened this issue Aug 31, 2013 · 1 comment

Comments

@ShaunR
Copy link

ShaunR commented Aug 31, 2013

It looks like in version 3.x !important was added to .hide, the problem with this is that now when you use hide on an element and then try to use jquerys toggle functions the important is taking over and nothing happens. I've gotten around this by doing slideToggle().removeClass('hide'); but it's ugly and the first transition is not smooth at all. I'm not sure why hide has !important now but if possible it should be removed.

@cvrebert
Copy link
Collaborator

Duplicate of #9881. Please search next time!

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

No branches or pull requests

2 participants