Bug Tracker

Modify

Ticket #2268 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

offset is incorrect in a scrolling tbody

Reported by: daepark Owned by: brandon
Priority: major Milestone: 1.2.4
Component: offset Version: 1.2.2
Keywords: Cc:
Blocking: Blocked by:

Description

When a table tbody is set to scroll by setting a height and overflow to auto ( tbody { height: 100px, overflow: auto } ), calculating the offset of any elements within the tbody is off by the amount you've scrolled. Please see attached test case.

Attachments

scrolltest.html Download (2.2 KB) - added by daepark 5 years ago.

Change History

Changed 5 years ago by daepark

comment:1 Changed 5 years ago by flesler

Have you actually tested that on IE ? you can't just set overflow:auto to a tbody and get scrollbars. I might be possible with deep css hacks. I reported this here:  http://groups.google.com/group/jquery-dev/browse_thread/thread/64d9d01267aa69ea# But the change seems useless, as it's not a valid situation on all supported browsers.

comment:2 Changed 5 years ago by joern

  • Status changed from new to closed
  • Resolution set to invalid

Agreed with Ariel.

comment:3 Changed 5 years ago by flesler

  • Milestone changed from 1.2.2 to 1.2.4

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.