I built a repro using https://esnextb.in/ but it seems that the site's Save function is currently broken.
Repro: https://gist.github.com/MrLeebo/84a3059a7a33993c34567172ec77698f
- Go to https://esnextb.in/
- Copy the "code.js" file into the Code tab
- Copy the "index.html" file into the HTML tab
- Package tab should auto-populate but you can check it with the "package.json" file
- Click the "Copy to clipboard" icon. Clipboard does not change
- If you remove the Modal and simply render the JsonView like normal, the icon works correctly and the clipboard contains the JSON contents