I have a mat table with sticky header and the vertical scroll of the page. It works fine until I add more columns dynamically and the horizontal scroll bar appears.
The sticky headers stop working.
is there any way to make it work?
Please see the example: