Bug Tracker

Opened 10 years ago

Closed 8 years ago

#14359 closed bug (migrated)

triggering focus event with namespace runs all focus listeners

Reported by: [email protected] Owned by: gibson042
Priority: low Milestone: None
Component: event Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:


Using jQuery 1.9 onwards, calling .trigger('focus.myevent') focusses the target element and triggers all "focus" handlers, regardless of namespace.

This is inconsistent with other events, where only handlers with the "myevent" namespace would be triggered.


This behaviour does not appear to be present in 1.7.2 or 1.8.3.

I have only tested this on Google Chrome Version 29.0.1547.66 m, in Windows 7

Change History (3)

comment:1 Changed 10 years ago by dmethvin

Component: unfiledevent
Priority: undecidedlow
Status: newopen

This is another result of triggering the native focus event so we can get the event order right. There are no jQuery extensions (namespaces, data) in those cases. See #13428.

comment:2 Changed 10 years ago by gibson042

Owner: set to gibson042
Status: openassigned

comment:3 Changed 8 years ago by m_gol

Resolution: migrated
Status: assignedclosed
Note: See TracTickets for help on using tickets.