Bug Tracker

Opened 8 years ago

Closed 8 years ago

#10206 closed bug (patchwelcome)

Odd scroll-to-top behavior observed in IE8 when delegating to `tbody tr`

Reported by: cwolves@… Owned by:
Priority: low Milestone: None
Component: event Version: 1.6.3
Keywords: Cc:
Blocked by: Blocking:

Description

See jsfiddle demo: http://jsfiddle.net/kfUcU/1/

In IE8, scroll down a bit and then click any item. For some reason the box jumps back to the top. This behavior goes away when changing the selector from:

$('#foo').delegate('tbody tr', 'click', function(){});

to almost anything else, such as:

$('#foo tbody').delegate('tr', ...

Tested 1.6.2, 1.6.4pre

Change History (4)

comment:1 Changed 8 years ago by cwolves@…

Note that by "IE8" I am running IE9 in IE8 mode, though the cause of this report came from a user using an actual version of IE8

comment:2 Changed 8 years ago by dmethvin

Status: newopen

Confirmed, also this (IE SPECIFIC) page does not cause the issue:

http://jsfiddle.net/kfUcU/11/

Not sure what that is about.

comment:3 Changed 8 years ago by dmethvin

Component: unfiledevent
Priority: undecidedlow
Version: git1.6.3

comment:4 Changed 8 years ago by dmethvin

Resolution: patchwelcome
Status: openclosed

Given the obscurity of the case I don't think we'll be able to put effort into investigating and patching. However, if someone can investigate further and has an idea about a patch, please post your findings.

Note: See TracTickets for help on using tickets.