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

Slide transitions can misjudge final dimensions - workaround should be documented #311

Open
clinkingdog opened this issue May 23, 2013 · 0 comments

Comments

@clinkingdog
Copy link

Sometimes slideDown, slideUp and slideToggle events can misjudge the final dimensions of the page, and hence slide the element too far or not far enough - leading to a "jump" into the correct position at the end of the slide transition.

This can be worked around by an explicit height or width specification on the element in question, and it would be helpful if that workaround was documented on these methods.

Some references:
http://www.bennadel.com/blog/2263-Use-jQuery-s-SlideDown-With-Fixed-Width-Elements-To-Prevent-Jumping.htm
(note that the width doesn't actually need to be fixed - any specified width will probably work; the explanation is helpful though)
http://forum.jquery.com/topic/slidedown-goes-to-far-then-jumps-back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants