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

Changing the top CSS value within base.toggleHeaders from 0 to newTop… #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhyland87
Copy link

Proposed resolution to Issue #107.

When viewing the table header in FireFox Inspector, I notice the CSS top value within the style attribute of the thead.tableFloatingHeaderOriginal element will very quickly switch back and fourth between 0px and the value defined by the newTopOffset variable. Changing the CSS top to use newTopOffset seems to fix the problem in FireFox, Chrome and IE.

@@ -166,7 +166,7 @@
base.$originalHeader.css({
'position': 'fixed',
'margin-top': base.options.marginTop,
'top': 0,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is set to 0. It just seems to cause problems with the table header "flickering" as it switches back and fourth between 0 and the newTopOffset value.

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

Successfully merging this pull request may close these issues.

1 participant