Modify ↓
Ticket #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: | ||
| 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: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
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/
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

jsFiddle:
jQuery 1.5: http://jsfiddle.net/2ENPz/
jQuery 1.6: http://jsfiddle.net/2ENPz/1/