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

Internet Explorer 10 - Sticky header is jumping when attached to its parent #1018

Closed
pankajkumar45 opened this issue Sep 18, 2015 · 11 comments
Closed

Comments

@pankajkumar45
Copy link

Open demo URL http://mottie.github.io/tablesorter/docs/example-widget-sticky-header.html in internet explorer 10 and go to section Attach sticky header to its parent.
Notice that sticky header is jumping when scrolling table.

Can you please provide a fix for the same asap.

Thanks in advance.

@Mottie
Copy link
Owner

Mottie commented Sep 18, 2015

Hi @pankajkumar45!

I'll try to look into this issue again this weekend.

@Mottie
Copy link
Owner

Mottie commented Sep 26, 2015

Sorry, I don't think it is possible to fix this issue...

If position:fixed is used, yes, the sticky header remains at the top of the window and even inside of vertically overflowed containers. But if the container has any horizontal overflow, the overflowed portion of the header is not hidden, because of position:fixed.

Using position: absolute and adjusting the top position while scrolling is the only solution that I have found that works in all cases. Yes, it does jump a bit. Maybe the issue can be solved by adding a transition to animate the header into place after scrolling has stopped?

@pankajkumar45
Copy link
Author

Thanks For your valuable suggestions, i will let you know as soon as i am done with implementation.

@CrazyPython
Copy link

I'm having this problem too- here a demo of the [production] site.

Can you please look into it?

@Mottie
Copy link
Owner

Mottie commented Jul 18, 2017

Hi @CrazyPython!

Is this problem in IE10 only? I don't think MS even supports IE10 anymore.

I tried viewing that page in IE11, and it wouldn't load the table because of a few issues:

  • SCRIPT438: Object doesn't support property or method 'includes'
  • HTTPS security is compromised by res://ieframe.dll

I'm going to close this issue, but please feel free to continue our discussion here.

@CrazyPython
Copy link

@Mottie Oh, I'm seeing it happening in Chromium actually... I may have missed a bit of the title 😅

@Herst
Copy link
Collaborator

Herst commented Jul 18, 2017

I don't think MS even supports IE10 anymore.

Not on any desktop OS.

@nhannt14
Copy link

Any solution for this problem, bro?

@Mottie
Copy link
Owner

Mottie commented Aug 28, 2017

Any solution for this problem, bro?

Actually looking at this again, I realized that the widget is constantly updating the class on the header. When it is only updated when the class needs to change, it smooths it out. Odd, that it's rock-solid in Firefox without this modification.

I'll make this change in the master branch, so it'll be available there, but I need to resolve a few other issues before the next release.

@nhannt14
Copy link

Really hope to see the next version.

@Mottie
Copy link
Owner

Mottie commented Aug 31, 2017

Hmm, Chrome is weird. Even though the header has a position: sticky set and nothing is being updated, it still jumps a little sometimes, just not as often. I'll push the changes to the master branch now. I should have a new release available soon.

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

5 participants