We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3eaeda commit e41d14dCopy full SHA for e41d14d
1 file changed
src/components/menulist-tab.ts
@@ -125,7 +125,9 @@ export class MenulistTabElement extends HTMLElement {
125
if (tab.active) {
126
this.tabButton.classList.add("active");
127
// Scroll to center with a small delay to avoid initial render conflicts
128
- setTimeout(() => this.scrollIntoViewIfActive(), 100);
+ if (document.body.classList.contains('popup')) {
129
+ setTimeout(() => this.scrollIntoViewIfActive(), 100);
130
+ }
131
}
132
133
0 commit comments