updatePositionWhenStable() {
        this.zone.onStable
            .pipe(rxjs_operators.takeUntil(this.destroy$))
            .subscribe(() => {
            this.ref && this.ref.updatePosition();
        });
    }
/**
     * Dimensions of the container may change after content update. So we listen to zone.stable event to
     * reposition the container.
     */
Dimensions of the container may change after content update. So we listen to zone.stable event to
reposition the container.
Dimensions of the container may change after content update . So we listen to zone . stable event to reposition the container .
updatePositionWhenStable() {
        this.zone.onStable
            .pipe(rxjs_operators.takeUntil(this.destroy$))
            .subscribe(() => {
            this.ref && this.ref.updatePosition();
        });
    }
updatePositionWhenStable ( ) { this . zone . onStable . pipe ( rxjs_operators . takeUntil ( this . destroy$ ) ) . subscribe ( ( ) => { this . ref && this . ref . updatePosition ( ) ; } ) ; }
Dimensions of the container may change after content update.
Dimensions of the container may change after content update .