Skip to main content

Bug Tracker

Side navigation

#9703 closed bug (invalid)

Opened June 29, 2011 10:31PM UTC

Closed June 29, 2011 11:26PM UTC

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

Reported by: evanmblack@gmail.com 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

Attachments (0)
Change History (3)

Changed June 29, 2011 11:11PM UTC by anonymous comment:1

Changed June 29, 2011 11:19PM UTC by anonymous comment:2

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.

Changed June 29, 2011 11:26PM UTC by rwaldron comment:3

_comment0: So, if you pass a third argument, jQuery.fn.bind() will think that is the callback. So if your callback is "false"... nothing happens. \ \ Works fine. \ http://jsfiddle.net/rwaldron/vXwLj/ \ 1309390024757035
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/