Ticket #4372 (closed enhancement: fixed)

Opened 4 years ago

Last modified 11 months ago

Animate backgroundColor to 'transparent'

Reported by: yourfavorite Owned by: gnarf
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version: 1.7
Keywords: color animation backgroundColor transparent Cc:
Blocking: Blocked by:

Description

Currently jQUI allows me to transition from transparent (no background color) to a specified background color using backgroundColor: "#fff". However I cannot get it to animate in the other direction (from #fff to transparent). It would be wonderful if there were a way to do this. Thanks!

Change History

comment:1 Changed 4 years ago by joern.zaefferer

  • Component changed from ui.core to effects.core
  • Milestone changed from TBD to 1.7.2

comment:2 Changed 4 years ago by rdworth

  • Milestone changed from 1.7.2 to 1.8

comment:3 Changed 4 years ago by scott.gonzalez

See comments in #4635 (closed as duplicate).

comment:5 Changed 2 years ago by gnarf

  • Status changed from new to open

comment:6 Changed 2 years ago by gnarf

  • Owner set to gnarf
  • Status changed from open to assigned

comment:7 Changed 11 months ago by Scott González

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

Upgrade to jquery-color 2.0pre. Fixes #6910 - Trying to animate the background color of a document fragment can easily fail. Fixes #5215 - Effects color: Add support for rgba animations. Fixes #4372 - Animate backgroundColor to 'transparent'. Fixes #5393 - getColor reports inaccurate color for transparent elements in Webkit. Fixes #3806 - Feature request: expose getRGB and getColor.

Changeset: 13d560b8f05a8eedbf28851824fe639a254f9fd0

Note: See TracTickets for help on using tickets.