Skip to content

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

Open
@clinkingdog

Description

@clinkingdog

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions