Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10464 closed defect (fixed)

dojo.animateProperty does not support rgba fully

Reported by: Karl Tiedt Owned by: nic
Priority: high Milestone: 1.5
Component: Core Version: 1.4.0b
Keywords: dojo.animateProperty rgba Cc: dante
Blocked By: Blocking:

Description

It seems that animateProperty will not properly calculate rgba's transparency to animate through... this can be tested by calling the below command with a proper node.

 dojo.animateProperty({
  node:"nav",
  duration: 5000, /* to ensure it wasnt be missed in a quick transition */
  properties: {
      backgroundColor: { end: "rgba(128,128,128,.75)", start:"rgba(128,128,128,.33)" },
  }
}).play();

Change History (3)

comment:1 Changed 9 years ago by nic

Owner: changed from anonymous to nic

comment:2 Changed 9 years ago by nic

Resolution: fixed
Status: newclosed

mwilcox wrote a dojo.animateProperty extension to animate complex css properties.
Just add
dojo.require("dojox.fx.ext-dojo.complex");
and it will work

comment:3 Changed 9 years ago by dante

Milestone: tbd1.5
Note: See TracTickets for help on using tickets.