Bug Tracker

Ticket #7139 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

"hover" event alias should work for .bind as well as .live

Reported by: cowboy Owned by: dmethvin
Priority: low Milestone: 1.7
Component: event Version: 1.4.2
Keywords: 1.7-discuss Cc:
Blocking: Blocked by:

Description (last modified by dmethvin) (diff)

Change History

comment:1 Changed 4 years ago by addyosmani

  • Priority changed from undecided to low
  • Type changed from bug to enhancement

comment:2 Changed 4 years ago by snover

  • Status changed from new to open

comment:3 Changed 4 years ago by rwaldron

  • Component changed from unfiled to event
  • Milestone changed from 1.4.3 to 1.5

comment:4 Changed 4 years ago by alexis.abril

Added a pull request for the following fix:  http://jsfiddle.net/nMAq6/

Pull request:  https://github.com/jquery/jquery/pull/303

comment:5 Changed 4 years ago by dmethvin

  • Milestone set to 1.7

comment:6 Changed 4 years ago by john

  • Milestone changed from 1.7 to 1.next

Let's discuss this in the 1.7 roadmap discussion.

comment:7 Changed 4 years ago by john

  • Keywords 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:8 Changed 4 years ago by rwaldron

  • Description modified (diff)

+1, Seems like an oversight

comment:9 Changed 4 years ago by jaubourg

+1, No reason I could think of.

comment:10 Changed 4 years ago by ajpiano

  • Description modified (diff)

+1,

comment:11 Changed 4 years ago by timmywil

  • Description modified (diff)

+1,

comment:12 Changed 4 years ago by dmethvin

  • Description modified (diff)

+1, If we can't remove the mythical "hover" event we are destined to perpetuate it to live/delegate.

comment:13 Changed 4 years ago by john

  • Description modified (diff)

+1, D'oh, let's get this working.

comment:14 Changed 4 years ago by jzaefferer

+0

comment:15 Changed 3 years ago by dmethvin

  • Owner set to dmethvin
  • Status changed from open to assigned
  • Description modified (diff)
  • Milestone changed from 1.next to 1.7

comment:16 Changed 3 years ago by dmethvin

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

In 1.7 the code is refactored so that hover works for all event attachment methods. For code clarity don't use it, please, since it's just an alias for "mouseover mouseout" and does not detect or deliver a "hover" event type.

Note: See TracTickets for help on using tickets.