Skip to main content

Search and Top Navigation

#7899 closed bug (notabug)

Opened November 18, 2011 12:21PM UTC

Closed November 18, 2011 04:20PM UTC

switchClass doesn't animate z-index

Reported by: ollillo Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/ku8vc/

Animated div should go on top of static div at 1000ms.

Attachments (0)
Change History (1)

Changed November 18, 2011 04:20PM UTC by scottgonzalez comment:1

component: ui.coreeffects.core
resolution: → invalid
status: newclosed

This is not a jQuery UI bug. Neither jQuery nor jQuery UI support animating zIndex. You need to add a custom animation hook for zIndex to get this to work.

$.fx.step.zIndex = function( fx ) {
	fx.elem.style.zIndex = parseInt( fx.now );
};