Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using (scroll) on any other element causes Maximum call stack size exceeded #601

Open
my-good-ideas opened this issue Jan 19, 2022 · 1 comment

Comments

@my-good-ideas
Copy link

my-good-ideas commented Jan 19, 2022

If I use (scroll) on any other element in the ui, where I also use angular2-multiselect-dropdown, I get following error:

core.js:6456 ERROR RangeError: Maximum call stack size exceeded
at SafeSubscriber._tryOrUnsub (Subscriber.js:191:32)
at SafeSubscriber.next (Subscriber.js:122:1)
at Subscriber.next (Subscriber.js:72:1)
at Subscriber.next (Subscriber.js:49:1)
at EventEmitter
.next (Subject.js:39:1)
at EventEmitter
.emit (core.js:25946:1)
at ScrollDirective.onClick (angular2-multiselect-dropdown.js:1014:1)
at ScrollDirective_scroll_HostBindingHandler (angular2-multiselect-dropdown.js:1019:97)
at executeListenerWithErrorHandling (core.js:15285:1)
at Object.wrapListenerIn_markDirtyAndPreventDefault [as next] (core.js:15323:1)

Version 5.0.4
Angular 12.1
example use:
"<div (scroll)="onScroll($event)">"

@amandalynn
Copy link

Same here. Have you found a way around it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants