Bug Tracker

Ticket #8732 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

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:1 Changed 3 years ago by dmethvin

Update:  http://jsfiddle.net/dmethvin/cKRWE/6/

The addEventListener needed a third arg.

comment:2 Changed 3 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:3 Changed 3 years ago by timmywil

  • Status changed from new to open

comment:4 Changed 3 years ago by dmethvin

  • Owner set to dmethvin
  • Status changed from open to assigned

comment:5 Changed 3 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

Note: See TracTickets for help on using tickets.