Skip to main content

Bug Tracker

Side navigation

#13682 closed bug (notabug)

Opened March 27, 2013 06:27PM UTC

Closed March 27, 2013 06:46PM UTC

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

Reported by: tilmau@gmail.com 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/

Attachments (0)
Change History (1)

Changed March 27, 2013 06:46PM UTC by dmethvin comment:1

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/