Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13682 closed bug (notabug)

misfiring .on() method's focus event with contenteditable & display:inline-block

Reported by: tilmau@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

I'm quite certain there is a bug in jqyuery 1.9.0 that might be related to http://bugs.jquery.com/ticket/12648

If you have a contenteditable div and it uses display:inline-block, the focus event in .on() method will fire even if you click outside of the div.

I only tested in Chrome on Windows 7.

http://jsfiddle.net/6579j/

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

Such is the power of jQuery that even when it is not included in the page it can reach out and sully the things we hold most dear.

http://jsfiddle.net/6579j/2/

Note: See TracTickets for help on using tickets.