Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroller Widget - Line doesn't line up with Internet Explorer 9, 10, 11 #928

Closed
Francks11 opened this issue Jun 2, 2015 · 6 comments
Closed

Comments

@Francks11
Copy link

When we use colspan in table body like this :

<tbody class="tablesorter-infoOnly">
    <tr>
        <td colspan="2">COLSPAN</td>
        <!-- add extra hidden td because the fixed column set to 2
             will hide 2 cells; this hidden cell is a placeholder -->
        <td style="display: none"></td>
        <!-- this cell will show up on the right -->
        <td colspan="8">&nbsp;</td>
    </tr>
</tbody>

Line doesn't line up with Internet Explorer but works good with other browser.

You can see a demo here : http://jsfiddle.net/1a5yu8yq/42/

capture

To better see, go on the bottom of table.

@Mottie
Copy link
Owner

Mottie commented Jun 2, 2015

This issue also occurs without info-only tbodies and colspans

@Francks11
Copy link
Author

Yes, indeed, I just saw. Why? A idea?

@Mottie
Copy link
Owner

Mottie commented Jun 2, 2015

If I knew that, it would be fixed by now.

@Herst
Copy link
Collaborator

Herst commented Jun 11, 2015

Ugly hack idea: Do "overflow: scroll", i.e. always display a scroll bar on IE?

@Mottie
Copy link
Owner

Mottie commented Jun 11, 2015

@Herst: It is possible to add a direction: rtl on the fixed column and have the scrollbar appear on the left, then you'd see two outer scrollbars. That still definitely sounds ugly 😉

I haven't touched the scroller widget in a week, or so - mostly to get away from it and finish up other work - I'll look at it again this weekend.

@Mottie
Copy link
Owner

Mottie commented Jun 22, 2015

I wanted to add a note here, the rows line up better now while scrolling due to throttling of the scroll event. There are times when the two sides don't line up - for example, the fixed column is scrolled to the bottom using the mouse wheel and the scrolling columns ends up about 5px from the bottom. There is no easy method to fix this since no scroll event is fired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants