jQuery Jerky slideUp and slideDown With Twitter Bootstrap Well

I am using the jQuery slideUp and slideDown transitions with a Twitter Bootstrap Well and while it was functional, it felt very jerky at the beginning of the slideDown transition and at the end of the slideUp transition. You can see an example of this here: http://jsfiddle.net/tWTB6/.

After doing some digging on the interwebs, I found several posts about how the css margin and padding properties could be creating this issue. Well, I tried those solutions and none of them worked for me. Then I noticed that the .well class from Twitter Bootstrap included the min-height property. So I overrode that property and set it to 0px and my problem was solved. Here is the jsFiddle that includes the solution: http://jsfiddle.net/MUVVh/1/.

Comments
« RSpec Shared Examples and Ruby Metaprogramming

Comments