ngx-ui-scroll
ngx-ui-scroll copied to clipboard
Viewport loads all items when positioned at top
Hey,
when the panel is positioned at top, when panel is opened it loads all the items into viewport, if i have 1000 items it start to scroll to bottom as soon as the panel is opened, and stops at the end.
const positionStrategy = this.overlay
.position()
.flexibleConnectedTo(this.input!.nativeElement)
.withPositions([{ originX: "start", originY: "top", overlayX: "start", overlayY: "bottom" }]);
@warunaudayanga Hello! Sorry, I must admit I didn't understand anything. Are you sure your problem is related to ngx-ui-scroll? If yes, it would be very useful if you could provide a repro, for example by forking this stackblitz: https://stackblitz.com/edit/ngx-ui-scroll-3-angular-17.