Use a DataTable with resizableColumns and scrollable may cause unresponsive web page or lag css animation. #3195
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/XRn8ECiOCeVOQB2g85Ni?p=preview
animation will lag when move mouse.
Current behavior
When use resizableColumns with scrollable table. when mouse move it call
calculateScrollbarWidth
and make DOM change every times. so it may cause unresponsive web page.Expected behavior
I don't know. may be cache a
calculateScrollbarWidth
result. so it not touch a DOM.Minimal reproduction of the problem with instructions
Use a
DataTable
withresizableColumns
andscrollable
(only
resizableColumns
can make a little laggy but when use withscollable
i think it significant drop performance)Please tell us about your environment:
Angular version: 4.1.2
PrimeNG version: 4.0.3
Browser: all (up to cpu power)
Language: TypeScript 2.3.2
Node (for AoT issues):
node --version
= v7.7.4The text was updated successfully, but these errors were encountered: