diff --git a/.changeset/qcwt-pcxyt-vbpuw.md b/.changeset/qcwt-pcxyt-vbpuw.md new file mode 100644 index 00000000000..8a51705ea93 --- /dev/null +++ b/.changeset/qcwt-pcxyt-vbpuw.md @@ -0,0 +1,5 @@ +--- +'@clerk/ui': patch +--- + +Improve ClipboardInput positioning and accessibility by using `readOnly` instead of `isDisabled` diff --git a/packages/ui/src/elements/ClipboardInput.tsx b/packages/ui/src/elements/ClipboardInput.tsx index dee689af876..ba4e30d2551 100644 --- a/packages/ui/src/elements/ClipboardInput.tsx +++ b/packages/ui/src/elements/ClipboardInput.tsx @@ -23,17 +23,22 @@ export const ClipboardInput = (props: ClipboardInputProps) => { ({ paddingInlineEnd: theme.space.$8 })} + readOnly + sx={theme => ({ paddingInlineEnd: theme.space.$7x5, textOverflow: 'ellipsis' })} />