Bug Tracker

Modify

Ticket #7111 (closed enhancement: fixed)

Opened 3 years ago

Last modified 14 months ago

$.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

jquery.overflow-bug.diff Download (727 bytes) - added by rodneyrehm 3 years ago.
patch

Change History

Changed 3 years ago by rodneyrehm

patch

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.

comment:2 Changed 3 years ago by snover

comment:3 Changed 3 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.