Ticket #7111 (closed enhancement: fixed)
$.animate kills overflow-x / overflow-y
| Reported by: | rodneyrehm | Owned by: | snover |
|---|---|---|---|
| Priority: | low | Milestone: | 1.4.3 |
| Component: | effects | Version: | 1.4.2 |
| Keywords: | Cc: | snover | |
| Blocking: | Blocked by: |
Description
Although overflow implicitly sets overflow-x and overflow-y they don't need to be the same value. You could hide the vertical overflow (overflow-y) while showing (or scrolling) the horizontal overflow (overflow-x). $.animate() kills this by setting overflow (instead of overflow-x and overflow-y). Preserving the original (possibly different) values of overflow-x and overflow-y, while still doing that (necessary) overflow hiding is fairly easy - see the attached diff.
Attachments
Change History
Changed 3 years ago by rodneyrehm
-
attachment
jquery.overflow-bug.diff
added
comment:1 Changed 3 years ago by snover
- Status changed from new to assigned
- Cc snover added
- Component changed from unfiled to fx
- Priority changed from undecided to low
- Owner set to snover
- need changed from Review to Commit
- Type changed from bug to enhancement
I have a patch in git for this, along with some other fixes to $.animate. Hopefully it will land either on 1.4.3 or 1.next.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

patch