TurboTable is not properly unbinding the body scroll listener #7074
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
The TurboTable ScrollBody component's
scroll
event listener is not being unbound correctly, it is rather being bound twice.In
table.ts
:Expected behavior
The event listener should be unbound instead of re-bound.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
More correct behavior.
Please tell us about your environment:
any
Angular version: 5.X
7.x
PrimeNG version: 5.X
7.x
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]
all
The text was updated successfully, but these errors were encountered: