You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I copy the first row; the CheckIcon renders. Then when I copy the second row the value isn't updated in the first one. I'm guessing this is because observing the clipboard is impossible. Are there any recommended workarounds for this? Do I need to implement a context that keeps track of the last copied value?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
I'm using
useCopyToClipboard
in a list, and I have some code like this:When I copy the first row; the CheckIcon renders. Then when I copy the second row the
value
isn't updated in the first one. I'm guessing this is because observing the clipboard is impossible. Are there any recommended workarounds for this? Do I need to implement a context that keeps track of the last copied value?Cheers
Beta Was this translation helpful? Give feedback.
All reactions