Bug Tracker

Ticket #8456 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

trigger('mouseover') no longer triggers mouseenter

Reported by: john.firebaugh Owned by: dmethvin
Priority: blocker Milestone: 1.5.2
Component: event Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Change History

comment:1 Changed 4 years ago by dmethvin

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to event
  • Milestone changed from 1.next to 1.5.2

comment:2 Changed 4 years ago by henrik.hjelte@…

Ah, someone saw this bug before me, I have another fiddle example that documents it and shows the fix:  http://jsfiddle.net/zg6Na/18/

This works with jquery up to and including 1.5, starts breaking with 1.5.1 The problem is on line 2788 of dist/jquery.js (of 1.5.1)

Modified jquery.js

2788

  • if ( parent !== document && !parent.parentNode ) {

+ if ( parent !== document && (parent && !parent.parentNode )) {

comment:3 Changed 4 years ago by dmethvin

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

comment:4 Changed 4 years ago by dmethvin

Fix:  https://github.com/jquery/jquery/pull/266

BTW, john.firebaugh, thanks for the report and for finding the problem commit!

Last edited 4 years ago by dmethvin (previous) (diff)

comment:5 Changed 4 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed

Landed.

comment:6 Changed 4 years ago by dmethvin

#8624 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.