Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ngx-datatable mouse hover rendering issue

I am using Ngx-datatable with Angular. https://github.com/swimlane/ngx-datatable

Its loading data without any problems.

The problem I have is ngx-datadatable is rendering whenever I move the mouse pointer over data rows.

Is there anyway I can disable it ?

like image 931
Ashhab Avatar asked Jan 22 '18 08:01

Ashhab


1 Answers

I have faced this bug too. my solution was pretty simple, just add this into datatable.component.ts:

window.addEventListener('mouseenter', function (event) {
    event.stopPropagation();
}, true);

you may want to check if they didn't solve this in latest versions.

like image 115
chana Avatar answered Oct 24 '22 02:10

chana