akveo / akveo/ng2-smart-table

ServerDataSource window delay

Đang mở
#357 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The window scroll is terribly slow when loading data with ServerDataSource (and it's not an Api problem because data is loaded almost immediately. The problem is caused by this loop:

**[Violation] 'requestAnimationFrame' handler took 142ms**
**[Violation] 'requestAnimationFrame' handler took 72ms**

It's visibile if the Console filter is in *verbose* mode. It seems like in some way, ng2-smart-table is calling this requestAnimationFrame inside a loop, causing an terrible delay to the whole window.

Is there a way to remove it from outside the source code? If not, please fix it

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.