Skip to content

Conversation

@Kravimir
Copy link

The "top" property was being reset to 0 for the ".tableFloatingHeaderOriginal" element so many of the times that toggleHeaders() was called and then being set again via setPositionValues(). Now the element doesn't "jump" unexpectedly.

The "top" property was being reset to 0 for the ".tableFloatingHeaderOriginal" element so many of the times that toggleHeaders() was called and then being set again via setPositionValues(). Now the element doesn't "jump" unexpectedly.
'z-index': base.options.zIndex
});
};
if(base.$originalHeader.get(0).styles.top=='')
Copy link

@kliput kliput May 29, 2018

Choose a reason for hiding this comment

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

HTMLElement has no styles property:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement - instead style should be used.
Did you managed to get this work on some browser? For me, on Chromium it doesn't work.

Edit: Tested changing to style and it works perfectly.

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.

2 participants