Skip to content

Commit

Permalink
Merge pull request #10042 from yaoxiantong/topic/tb/fixScrollPanelBug
Browse files Browse the repository at this point in the history
Fixed #9727 - Scroll Panel Bars not displaying correctly when the scrollpanel loses/gains width
  • Loading branch information
yigitfindikli authored Mar 26, 2021
2 parents 6d43e9b + aaa3f0e commit 473e4e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/scrollpanel/scrollpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export class ScrollPanel implements AfterViewInit, AfterContentInit, OnDestroy {
yBar.style.cssText = 'height:' + yBarHeight + '%; top: calc(' + yBarTop + '% - ' + xBar.clientHeight + 'px);right:' + right + 'px;';
}
});
this.cd.markForCheck();
}

onYBarMouseDown(e: MouseEvent) {
Expand Down

0 comments on commit 473e4e2

Please sign in to comment.