Skip to content

Commit b8dc0e6

Browse files
committed
Fix dropdown
1 parent abfba66 commit b8dc0e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ export function SpaceLayout(props: {
133133
)}
134134
{isMultiVariants && (
135135
<SpacesDropdown
136+
/** Needed to avoid the dropdown being rendered in the wrong place when the mobile menu is open. */
137+
withPortal={false}
136138
context={context}
137139
siteSpace={siteSpace}
138140
siteSpaces={siteSpaces}

0 commit comments

Comments
 (0)