Stick table should be canceled on the table has X-axis scrolling
I was on another issue notice the stick table has a bug, that issue is related to one of my PR. https://github.com/matomo-org/matomo/pull/18124
The problem is when the dataTableScroller is not visible during an ajax load. it won't process
overflow-x', 'scroll', leading the entire page to scroll on the X-axis.
To reproduce this, on the
goals overview page, when you have more than 10 goals, it should appear.
I guess there are 2 solutions. Wait ajax is finished if there is one. then call enable function, or do an internal time, check it class is visible, once it's visible run the function and clear the timer.