Skip to content

Commit

Permalink
fix: replaced JavaScript selector (#3529)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Nov 29, 2024
1 parent 015fb62 commit 036a52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/tabs/tabs.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default function DBTabs(props: DBTabsProps) {

const tabPanels = Array.from<Element>(
ref.querySelectorAll(
':is(& > .db-tab-panel, & > db-tab-panel > .db-tab-panel)'
':is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)'
)
);
for (const panel of tabPanels) {
Expand Down

0 comments on commit 036a52a

Please sign in to comment.