// Add angular state in query params to reuse the routed component
@Input() setAngularState: boolean
+ @Input() parentDisabled = false
@Output() nearOfBottom = new EventEmitter<void>()
filter(({ current, maximumScroll }) => (current / maximumScroll) > this.decimalLimit)
)
.subscribe(() => {
- if (this.setAngularState) this.setScrollRouteParams()
+ if (this.setAngularState && !this.parentDisabled) this.setScrollRouteParams()
this.nearOfBottom.emit()
})