diff --git a/src/components/tab-bar/tab-bar.tsx b/src/components/tab-bar/tab-bar.tsx index f2540c2eba..4b580adb82 100644 --- a/src/components/tab-bar/tab-bar.tsx +++ b/src/components/tab-bar/tab-bar.tsx @@ -159,6 +159,10 @@ export class TabBar { @Listen('resize', { passive: true, target: 'window' }) protected handleWindowResize() { + if (!this.scrollArea) { + return; + } + this.handleScroll(); }