swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

Performance on mobile devices #620

Open molcik opened 7 years ago

molcik commented 7 years ago

I'm submitting a ... (check one with "x")

[] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior Performance on iOS and probably other mobile devices is very slow and laggy.

2017-03-22 12_59_03

Expected behavior Scrolling across the table should be smoother.

Reproduction of the problem Tested with demo page. http://swimlane.github.io/ngx-datatable/#

What is the motivation / use case for changing the behavior? As Angular is mobile first framework, ngx-datatable should work on mobile devices too.

Please tell us about your environment: iOS 10

nerdmax commented 7 years ago

@molcik I've checked iPhone 6, 5, iPad mini 1, iPad 2 and some Android devices.

All the ios devices that I mentioned above have this low-performance issue. The performance is even worse when "frozenLeft" or "frozenright" is set to true. Check http://swimlane.github.io/ngx-datatable/#pinning on any ios device.

For Android devices with chrome, don't have this performance issues.

As only ios devices have this low-performance issues with chrome and safari, I guess this is an issue just related to ios platform