github-actions · GitHub

Make data-slot handling consistent across all components: a caller-supplied data-slot now always wins on the component root (with the component's own root/base value as fallback), and inner elements keep their own data-slot. Previously inheritAttrs: false components either dropped the caller's data-slot from the root or let it leak onto an inner element.

@github-actions Bot added the v4

#4488

label

Jun 26, 2026

@vercel

@benjamincanac benjamincanac changed the title fix: forward caller-supplied data-slot to component root fix(components): forward caller-supplied data-slot to component root

Jun 27, 2026

@benjamincanac benjamincanac changed the title fix(components): forward caller-supplied data-slot to component root fix(components): forward caller-supplied data-slot to component root

Jun 27, 2026

@benjamincanac benjamincanac changed the title fix(components): forward caller-supplied data-slot to component root fix: honor data-slot on component root

Jun 27, 2026

@benjamincanac benjamincanac changed the title fix: honor data-slot on component root fix(components): forward data-slot to component root

Jun 27, 2026

@benjamincanac

@vercel

…nu roots

@benjamincanac

coderabbitai[bot]

@vercel

@vercel

@benjamincanac

@vercel

@benjamincanac

@benjamincanac

Closed

Closed

Read the original on github.com ↗