Modify ↓
Ticket #2774 (closed enhancement: worksforme)
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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.