We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3429c9 commit 6c4294dCopy full SHA for 6c4294d
packages/core/useClipboard/index.ts
@@ -111,7 +111,7 @@ export function useClipboard(options: UseClipboardOptions<MaybeRefOrGetter<strin
111
112
function legacyCopy(value: string) {
113
const ta = document.createElement('textarea')
114
- ta.value = value ?? ''
+ ta.value = value
115
ta.style.position = 'absolute'
116
ta.style.opacity = '0'
117
document.body.appendChild(ta)
0 commit comments