Opened 11 years ago
Closed 11 years ago
#10206 closed bug (patchwelcome)
Odd scroll-to-top behavior observed in IE8 when delegating to `tbody tr`
Reported by: | 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 11 years ago by
comment:2 Changed 11 years ago by
Status: | new → open |
---|
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 11 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Version: | git → 1.6.3 |
comment:4 Changed 11 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | open → closed |
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 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