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
ngx-infinite-scroll {resolveContainerElement()}: selector for #380
Comments
I'm having this problem when running the tests. "jest": "^26.6.3", My implementation:
|
core.js:6210 ERROR Error: ngx-infinite-scroll {resolveContainerElement()}: selector for I have a main container, i open a side right bar... and inside that right bar i want the scroll. But the issue is... the data is loaded with the main container scroll. Can anybody help? |
What I found is that it is somehow not able to find [infiniteScrollContainer]="'.parent-container'" so it is throwing this error. I somehow managed to use scroll without this function. |
You can pass the
|
This worked for me Thanks a lot |
With version 8.0.2, I encounter:
Error: ngx-infinite-scroll {resolveContainerElement()}: selector for
at resolveContainerElement (ngx-ins-utils.ts:18)
at createScroller (scroll-register.ts:16)
at infinite-scroll.directive.ts:66
at ZoneDelegate.invoke (zone.js:386)
at Zone.run (zone.js:143)
at NgZone.runOutsideAngular (core.js:28464)
at InfiniteScrollDirective.setup (infinite-scroll.directive.ts:65)
at InfiniteScrollDirective.ngAfterViewInit (infinite-scroll.directive.ts:44)
at callHook (core.js:2521)
at callHooks (core.js:2492)
Which then results in angular failing to render the page and/or some repositioning issues.
Tips please - Thanks
The text was updated successfully, but these errors were encountered: