Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy to Clipboard not working on Safari (MacOS 12.7.4) #57

Open
tiberiusbrown opened this issue Mar 27, 2024 · 0 comments
Open

Copy to Clipboard not working on Safari (MacOS 12.7.4) #57

tiberiusbrown opened this issue Mar 27, 2024 · 0 comments

Comments

@tiberiusbrown
Copy link
Owner

Link to Arduboy forum post.

I’m on a MAC running Monterey 12.7.4.
The copy to clipboard button (from the Serial Monitor) does not copy when using Safari but it does when I use Chrome, Firefox or Opera.

Probably need to set clipboard from event handler only (note from sokol lib):

NOTE that on the HTML5 platform, sapp_set_clipboard_string() must be
called from inside a 'short-lived event handler', and there are a few
other HTML5-specific caveats to workaround. You'll basically have to
tinker until it works in all browsers :/ (maybe the situation will
improve when all browsers agree on and implement the new
HTML5 navigator.clipboard API).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant