Bug Tracker

Ticket #10795 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

Animate "height" is interpreting % values as px

Reported by: gilbitron Owned by:
Priority: high Milestone: None
Component: effects Version: 1.7
Keywords: Cc:
Blocking: Blocked by:


The animate function seems to be interpreting the "height" attribute percentage values as pixel values.

For example $(...).animate({ height:'50%' }, 1000) will animate the element to 50px rather than 50%.

Change History

comment:1 Changed 3 years ago by timmywil

  • Priority changed from undecided to high
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to effects

comment:2 Changed 3 years ago by timmywil

Duplicate of #10669.

comment:3 Changed 3 years ago by gilbitron

Note: See TracTickets for help on using tickets.