Bug Tracker

Opened 7 years ago

Closed 6 years ago

#7139 closed enhancement (fixed)

"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:
Blocked by: Blocking:

Change History (16)

comment:1 Changed 7 years ago by addyosmani

Priority: undecidedlow
Type: bugenhancement

comment:2 Changed 7 years ago by snover

Status: newopen

comment:3 Changed 6 years ago by Rick Waldron

Component: unfiledevent
Milestone: 1.4.31.5

comment:4 Changed 6 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 6 years ago by dmethvin

Milestone: 1.7

comment:6 Changed 6 years ago by john

Milestone: 1.71.next

Let's discuss this in the 1.7 roadmap discussion.

comment:7 Changed 6 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:8 Changed 6 years ago by Rick Waldron

Description: modified (diff)

+1, Seems like an oversight

comment:9 Changed 6 years ago by jaubourg

+1, No reason I could think of.

comment:10 Changed 6 years ago by ajpiano

Description: modified (diff)

+1,

comment:11 Changed 6 years ago by timmywil

Description: modified (diff)

+1,

comment:12 Changed 6 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 6 years ago by john

Description: modified (diff)

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

comment:14 Changed 6 years ago by jzaefferer

+0

comment:15 Changed 6 years ago by dmethvin

Description: modified (diff)
Milestone: 1.next1.7
Owner: set to dmethvin
Status: openassigned

comment:16 Changed 6 years ago by dmethvin

Resolution: fixed
Status: assignedclosed

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.