Skip to main content

Bug Tracker

Side navigation

#9649 closed bug (invalid)

Opened June 23, 2011 12:28AM UTC

Closed June 23, 2011 04:35PM UTC

Last modified June 24, 2011 12:04AM UTC

Change events not fired on checkbox in Opera 11.50 when clicking a label element

Reported by: ray@rayward.com.au Owned by:
Priority: low Milestone: 1.next
Component: event Version: 1.6.1
Keywords: browser-opera Cc: miketaylr
Blocked by: Blocking:
Description

In this situation where:

1. You have a .live binding to a click event and that event calls the .preventDefault() method

2. The live binding is completely unrelated to the checkbox element and the wrapping label element

3. You have a .change binding on the checkbox element

Then when you click the label (in order to tick/untick the checkbox) the change event on the checkbox is not fired.

This works in Opera 11 but not in 11.50

Demo code:

http://jsfiddle.net/QYgAH/

Attachments (0)
Change History (7)

Changed June 23, 2011 02:04AM UTC by rwaldron comment:1

cc: → miketaylr

I think we'll wait unti 11.50 is released. According to my installation and the update check, 11.11 is the current stable.

cc'ing mike taylor, maybe he has some insight

Changed June 23, 2011 02:06AM UTC by rwaldron comment:2

Changed June 23, 2011 02:15AM UTC by ray@rayward.com.au comment:3

I've also submitted this same issue with the Opera team (DSK-340083) in case it's a bug on their side.

Changed June 23, 2011 03:10PM UTC by timmywil comment:4

component: unfiledevent
keywords: → browser-opera
priority: undecidedlow

I made one for myself: http://jsfiddle.net/timmywil/7HPMx/2/

Changed June 23, 2011 03:59PM UTC by miketaylr comment:5

Thanks, Ray. I've CC'd the right people on your bug and we'll see what's up.

Changed June 23, 2011 04:35PM UTC by miketaylr comment:6

resolution: → invalid
status: newclosed

OK, appears to have been a regression in earlier 11.50 snapshots, but fixed in RC1: http://my.opera.com/desktopteam/blog/2011/06/23/swordfish-rc1

Thanks for reporting though!

Changed June 24, 2011 12:04AM UTC by ray@rayward.com.au comment:7

Thanks guys, all working in the RC :)