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: | 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
comment:2 Changed 12 years ago by
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
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
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/
Note: See
TracTickets for help on using
tickets.
jsFiddle:
jQuery 1.5: http://jsfiddle.net/2ENPz/
jQuery 1.6: http://jsfiddle.net/2ENPz/1/