Oct 21, 2019
When trying to display an hidden element with jQuery toggle() (or slideDown,SlideUp, hide, show...) sometimes the animation looks bumpy and not quite as smooth as you would expect it to be.
To avoid it, you have to make sure that the width of the hidden content is always the same. So adding a fixed width to the hidden content does the trick.
#hidden-element{
width: 100%;
}
width: 100% being the best choice for responsiveness.
Javascript Jquery