Skip to content

fix(docs): align base data-table docs with Base dropdown menu render API#10935

Open
junhaoliao wants to merge 3 commits into
shadcn-ui:mainfrom
junhaoliao:fix/10934-base-dropdownmenu-trigger
Open

fix(docs): align base data-table docs with Base dropdown menu render API#10935
junhaoliao wants to merge 3 commits into
shadcn-ui:mainfrom
junhaoliao:fix/10934-base-dropdownmenu-trigger

Conversation

@junhaoliao

@junhaoliao junhaoliao commented Jun 13, 2026

Copy link
Copy Markdown

Overview

Fixes issue #10934: the Base UI Data Table docs used Radix-style asChild on DropdownMenuTrigger, which is incompatible with Base UI docs/style.

Changes

  • Updated Base Data Table docs in apps/v4/content/docs/components/base/data-table.mdx to use DropdownMenuTrigger's render prop in both affected snippets (row actions menu and column visibility menu).
  • Kept existing button markup/content while aligning the composition API with Base UI.

Validation

  • pnpm run lint (repo root): pass.
  • pnpm --filter=v4 exec prettier --check content/docs/components/base/data-table.mdx: pass.

Fixes #10934

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

@junhaoliao is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@junhaoliao junhaoliao changed the title fix: align base data-table docs with Base dropdown menu render API fix(docs): align base data-table docs with Base dropdown menu render API Jun 13, 2026
@junhaoliao junhaoliao force-pushed the fix/10934-base-dropdownmenu-trigger branch from 63ad03b to 3ccca29 Compare June 13, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Base data table docs use Radix asChild prop in DropdownMenuTrigger for Base UI snippets

1 participant