DataTables with Scroller has problems with sub-pixel rendering
DataTables with Scroller has problems with sub-pixel rendering
hubo
Posts: 45Questions: 14Answers: 0
in Bug reports
I find out, that DataTables 1.10.5 with Scroller 1.2.2 has problems with sub-pixel rendering (supported by IE and in some cases even in other browsers). Scroller wrongly computes height of row (because of rounding). The problem is not a new one (it is even in previous versions).
This discussion has been closed.
Answers
That is going to be a real problem to fix I think since I can't read sub-pixel values in Javascript. However, thanks for letting me know about this. I'll try to reproduce the issue and figure out how to resolve it as soon as I can (although I've got quite a backlog at the moment, so it probably won't be soon).
Allan
You can read sub-pixel values using JavaScript. The latest jQuery is rounding (.width() function) to 2 decimals. You can get exact value by using DOM element .getBoundingClientRect() function.
Interesting! Thanks for the tip.
Allan