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 comment:1
Changed June 29, 2011 11:19PM UTC by 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 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: | 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.
jsFiddle:
jQuery 1.5: http://jsfiddle.net/2ENPz/
jQuery 1.6: http://jsfiddle.net/2ENPz/1/