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 #1941

Closed SanaeHanaoui closed 3 years ago

SanaeHanaoui commented 4 years ago

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. Please tell us about your environment:

win

Table version: 17.1.0

Angular version: Angular 9

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] all

Language: [all | TypeScript X.X | ES6/7 | ES5] ts 3.7

joeveiga commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

SanaeHanaoui commented 3 years ago

Datatable resize output event catches window resize event the same issue in this opened github issue (https://github.com/swimlane/ngx-datatable/issues/1823 ) 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. (which return the window event not Column was resized. { column newValue } image when i resize the window

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 7 days with no activity.