Skip to main content

Bug Tracker

Side navigation

#10206 closed bug (patchwelcome)

Opened September 06, 2011 07:50PM UTC

Closed November 16, 2011 07:39PM UTC

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

Reported by: cwolves@gmail.com 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

Attachments (0)
Change History (4)

Changed September 06, 2011 07:52PM UTC by cwolves@gmail.com comment:1

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

Changed September 08, 2011 03:56AM UTC by dmethvin comment:2

status: newopen

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

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

Not sure what that is about.

Changed September 08, 2011 03:57AM UTC by dmethvin comment:3

component: unfiledevent
priority: undecidedlow
version: git1.6.3

Changed November 16, 2011 07:39PM UTC by dmethvin comment:4

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.