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

Datatable resize output event catches window resize event #1823

Open hdadr opened 4 years ago

hdadr commented 4 years ago

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

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

Current behavior

After angular update from 8 to 9, the function which is binded to the ngx-datatable resize output event runs when window.resize event happens.

Expected behavior

It should only be called when datatable resize event happens.

Reproduction of the problem

What is the motivation / use case for changing the behavior?

bug fix

Please tell us about your environment:

win / lin

hdadr commented 4 years ago

Tested with angular 8.2.3 and ngx-datatable 16.0.3, this behavior is not present.

michael-koch787 commented 3 years ago

Any update on this? We are facing the same problem.

SanaeHanaoui commented 3 years ago

any update facing the same issue angular 9 ngx-datatable 17

Iuriy-Budnikov commented 2 years ago

I have the same issue with angular 9