-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I've experienced an issue with the scroller switching width of the table for me, especially when there is overflow, between 100% and a calculated value. This happens when I scroll the table. This creates a problem when scrolling as I see differences in how the table and scrollbars display.
Starting at line 487 in the scroller JS, I just added a forced style to make the width 100% of the container for the scroll and touchstart events. This fixed my issue; maybe this will help someone else.
$(this.dom.scroller).on( 'scroll.DTS', function (e) {
that._fnScroll.call( that );
that.dom.scroller.style.width = "100%";
} );
/* In iOS we catch the touchstart event in case the user tries to scroll
* while the display is already scrolling
*/
$(this.dom.scroller).on('touchstart.DTS', function () {
that._fnScroll.call( that );
that.dom.scroller.style.width = "100%";
} );
Metadata
Metadata
Assignees
Labels
No labels