datatable icon indicating copy to clipboard operation
datatable copied to clipboard

fix: 🐛 Always listen to window resize event

Open SaiFi0102 opened this issue 7 years ago • 0 comments

Problem: DataTable does not listen to Window Resize events when the layout is fixed. This causes horizontal scrolling problems with the bodyScrollable when the window is resized and the responsive UI makes the DataTable wrapper narrower.

Another problem was that the element created by measureTextWidth was taking up some height at the bottom of the page. I added top: -9999px to keep it out of the viewport. However, should this element be removed after inferring it's width?

SaiFi0102 avatar Jan 28 '19 11:01 SaiFi0102