Bug Tracker

Ticket #2774 (closed enhancement: worksforme)

Opened 7 years ago

Last modified 4 years ago

make animated show/hide more useful

Reported by: joern Owned by:
Priority: major Milestone: 1.2.4
Component: effects Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

Currently animated show/hide methods animate both width and height, resulting in text reflowing in every animation step. This should be fixed.

One idea is to animate height and opacity. That would avoid the reflowing text, without making slideUp/Down useless.

Change History

comment:1 Changed 6 years ago by dantman

Every type of animation has it's own purpose. I don't see why one animation effect should be discarded for another just because it doesn't look great 100% of the time when you can just use a different animation. If you have reflow issues, then use another animation like slideUp or fadeOut instead.

I think the real issue here is that we cannot customize the animation for the generically named .show and .hide and end up creating a pile of first level methods to do animation which would be better suited as simple extension.

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

Since we have .animate and it's possible to define other easing methods (as jQuery UI does) it seems like we already have all the bases covered.

Note: See TracTickets for help on using tickets.