Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13104 closed bug (notabug)

New click event on checkbox behavior doesn't make sense when using preventDefault()

Reported by: stephenkamenar@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9b1
Keywords: Cc:
Blocked by: Blocking:

Description

If you preventDefault() on click, it now says it's checked, even though it's not.

I vote to revert the behavior, if you want to know when it's changed, use the 'change' event!

http://jsbin.com/urisad/1/edit

Change History (2)

comment:1 Changed 6 years ago by anonymous

Check the console.log in the jsfiddle.

comment:2 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed

Yes, we are now in sync with native event behavior, which is good. Please send complaints to the W3C. :)

http://jsbin.com/urisad/2/

Note: See TracTickets for help on using tickets.