Ticket #9649 (closed bug: invalid)
Change events not fired on checkbox in Opera 11.50 when clicking a label element
| Reported by: | ray@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | event | Version: | 1.6.1 |
| Keywords: | browser-opera | Cc: | miketaylr |
| Blocking: | Blocked by: |
Description
In this situation where:
- You have a .live binding to a click event and that event calls the .preventDefault() method
- The live binding is completely unrelated to the checkbox element and the wrapping label element
- 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/
Change History
comment:2 Changed 2 years ago by rwaldron
Further reduction http://jsfiddle.net/rwaldron/7HPMx/1/
comment:3 Changed 2 years ago by ray@…
I've also submitted this same issue with the Opera team (DSK-340083) in case it's a bug on their side.
comment:4 Changed 2 years ago by timmywil
- Keywords browser-opera added
- Priority changed from undecided to low
- Component changed from unfiled to event
I made one for myself: http://jsfiddle.net/timmywil/7HPMx/2/
comment:5 Changed 2 years ago by miketaylr
Thanks, Ray. I've CC'd the right people on your bug and we'll see what's up.
comment:6 Changed 2 years ago by miketaylr
- Status changed from new to closed
- Resolution set to invalid
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!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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