Bug Tracker

Modify

Ticket #9703 (closed bug: invalid)

Opened 23 months ago

Last modified 23 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 23 months ago by anonymous

comment:2 Changed 23 months 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 23 months ago by rwaldron

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to event

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 23 months ago by rwaldron (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.