react-clipboard.js icon indicating copy to clipboard operation
react-clipboard.js copied to clipboard

Clipoard not working in material-ui Dialog

Open johniak opened this issue 4 years ago • 2 comments

I created small demo in which you can see that clipboard is not copy if component is inside dialog https://codesandbox.io/s/clipboard-material-ui-dialog-rm7kw

johniak avatar May 28 '20 15:05 johniak

Hi @johniak

Thanks for reporting this issue, I'll investigate it and fix it this week.

nihey avatar Jun 02 '20 18:06 nihey

@johniak I was not able to correctly pin point the exact reason for this problems, but I found out this issue might be related to the problem on the material-ui Dialog: https://github.com/zenorocha/clipboard.js/issues/388

I'll investigate it deeper to find a proper solution for it, but I recommend taking a look at it, it probably will have some useful information on your case.

nihey avatar Jun 12 '20 03:06 nihey