Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9703 closed bug (invalid)

You can no longer bind to the transition end event in jQuery 1.6

Reported by: evanmblack@… Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description

I was running code similar to this in Chrome with jQuery 1.5.2:

el.bind('webkitTransitionEnd', function( event ) { 
	
	// Load something
	
}, false );

This is no longer working when upgrading to 1.6.1

Change History (3)

comment:1 Changed 12 years ago by anonymous

comment:2 Changed 12 years ago by anonymous

It looks like passing the 3rd argument as false when binding has different effects in jQuery 1.5 versus jQuery 1.6. Not sure if that's a bug or not.

comment:3 Changed 12 years ago by Rick Waldron

Component: unfiledevent
Priority: undecidedlow
Resolution: invalid
Status: newclosed

If you pass a third argument, jQuery.fn.bind() will think that is the callback and if your callback is "false"... nothing happens.

Works fine. http://jsfiddle.net/rwaldron/vXwLj/

Last edited 12 years ago by Rick Waldron (previous) (diff)
Note: See TracTickets for help on using tickets.