Modify ↓
Ticket #8732 (closed bug: fixed)
Incorrect feature detect for IE9 focusin/focusout
| Reported by: | dmethvin | Owned by: | dmethvin |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.6 |
| Component: | event | Version: | 1.5.2rc1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The indirect feature test in event.js for whether to simulate focusin/focusout is to look for document.addEventListener, but IE9 supports that and still has bubbling focusin/out so we are adding simulated event support when we shouldn't.
via danheberden: http://jsfiddle.net/cKRWE/5/
Change History
comment:2 Changed 2 years ago by dmethvin
- Priority changed from undecided to blocker
- Version changed from 1.5.1 to 1.5.2rc1
- Component changed from unfiled to event
- Milestone changed from 1.next to 1.6
comment:4 Changed 2 years ago by dmethvin
- Owner set to dmethvin
- Status changed from open to assigned
comment:5 Changed 2 years ago by Dave Methvin
- Status changed from assigned to closed
- Resolution set to fixed
Fix #8732. Change feature detect for focusin event support, so IE9 won't have duplicate events.
Changeset: bbd9c776ea22296a6807d5b760bd4e82ee5f4414
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Update: http://jsfiddle.net/dmethvin/cKRWE/6/
The addEventListener needed a third arg.