@devries-cameron20 / composio-1 / commits / 398d20de0
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Disable mobile TOC popover on all docs pages

The floating "On this page" popover was causing scroll issues on mobile. Using fumadocs' tableOfContentPopover prop to disable it while keeping the desktop sidebar TOC intact. Applied to: - Main docs pages - Tool router pages (via shared createDocsPage) - Examples pages (via shared createDocsPage) - Reference pages (both OpenAPI and MDX) - Changelog entry pages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Jan 5, 2026 at 00:25 UTC 398d20de070f1c25ea5868a0934dd7ded997e667
4 files changed +5 -5
fumadocs/app/(home)/docs/[[...slug]]/page.tsx
+1 -1
@@ -18,7 +18,7 @@ export default async function Page(props: PageProps<'/docs/[[...slug]]'>) {
18 const MDX = page.data.body;
19
20 return (
21 - <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }}>
21 + <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}>
22 <DocsTitle>{page.data.title}</DocsTitle>
23 <DocsDescription className="mb-4">{page.data.description}</DocsDescription>
24 <DocsBody>
fumadocs/app/(home)/docs/changelog/[...slug]/page.tsx
+1 -1
@@ -35,7 +35,7 @@ export default async function ChangelogEntryPage({ params }: PageProps) {
35
36 // If there are multiple entries for the same date, show all of them
37 return (
38 - <DocsPage toc={[]} footer={{ enabled: false }}>
38 + <DocsPage toc={[]} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}>
39 <Link
40 href="/docs/changelog"
41 className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mb-4 transition-colors"
fumadocs/app/(home)/reference/[[...slug]]/page.tsx
+2 -2
@@ -32,7 +32,7 @@ export default async function Page({
32 if ('getAPIPageProps' in page.data) {
33 const pageData = page.data as OpenAPIPageData;
34 return (
35 - <DocsPage full>
35 + <DocsPage full tableOfContentPopover={{ enabled: false }}>
36 <h1 className="text-2xl font-semibold mb-4">{pageData.title}</h1>
37 <DocsBody>
38 <APIPage {...pageData.getAPIPageProps()} />
@@ -47,7 +47,7 @@ export default async function Page({
47 const MDX = mdxData.body;
48
49 return (
50 - <DocsPage toc={mdxData.toc} full={mdxData.full} footer={{ enabled: false }}>
50 + <DocsPage toc={mdxData.toc} full={mdxData.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}>
51 <DocsTitle>{mdxData.title}</DocsTitle>
52 <DocsDescription>{mdxData.description}</DocsDescription>
53 <DocsBody>
fumadocs/lib/create-docs-page.tsx
+1 -1
@@ -21,7 +21,7 @@ export function createDocsPage(source: Source) {
21 const MDX = page.data.body;
22
23 return (
24 - <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }}>
24 + <DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }} tableOfContentPopover={{ enabled: false }}>
25 <DocsTitle>{page.data.title}</DocsTitle>
26 <DocsDescription>{page.data.description}</DocsDescription>
27 <DocsBody>