Skip to main content

Bug Tracker

Side navigation

#7139 closed enhancement (fixed)

Opened October 10, 2010 01:42AM UTC

Closed September 20, 2011 12:58PM UTC

"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:
Description
Attachments (0)
Change History (16)

Changed October 13, 2010 04:28AM UTC by addyosmani comment:1

priority: undecidedlow
type: bugenhancement

Changed October 14, 2010 05:57AM UTC by snover comment:2

status: newopen

Changed October 25, 2010 10:16PM UTC by rwaldron comment:3

component: unfiledevent
milestone: 1.4.31.5

Changed April 06, 2011 05:58AM UTC by alexis.abril comment:4

Added a pull request for the following fix:

http://jsfiddle.net/nMAq6/

Pull request:

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

Changed April 07, 2011 02:41PM UTC by dmethvin comment:5

milestone: → 1.7

Changed April 17, 2011 12:43AM UTC by john comment:6

milestone: 1.71.next

Let's discuss this in the 1.7 roadmap discussion.

Changed May 22, 2011 07:27PM UTC by john comment:7

keywords: → 1.7-discuss

Nominating ticket for 1.7 discussion.

Changed May 22, 2011 10:03PM UTC by rwaldron comment:8

description: Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \ Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\

+1, Seems like an oversight

Changed May 23, 2011 12:13AM UTC by jaubourg comment:9

+1, No reason I could think of.

Changed May 23, 2011 02:01AM UTC by ajpiano comment:10

description: Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\ Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \

+1,

Changed May 23, 2011 03:48AM UTC by timmywil comment:11

description: Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \ Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\

+1,

Changed May 24, 2011 12:49AM UTC by dmethvin comment:12

description: Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\ Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \

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

Changed June 03, 2011 01:39PM UTC by john comment:13

description: Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \ Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\

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

Changed June 06, 2011 03:56PM UTC by jzaefferer comment:14

+0

Changed July 11, 2011 05:37PM UTC by dmethvin comment:15

description: Is there a reason this is .live-only?\ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015\ Is there a reason this is .live-only? \ \ http://github.com/jquery/jquery/blob/master/src/event.js#L1012-1015 \
milestone: 1.next1.7
owner: → dmethvin
status: openassigned

Changed September 20, 2011 12:58PM UTC by dmethvin comment:16

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.