codesandbox / codesandbox/codesandbox-client

Copy & Paste inside editor doesn't work on iPadOS 13

Open
#2,345 37 comments 25 reactions 1 assignee View on GitHub

@CompuIves is already working on this.

Since Aug 31, 2020.

🐛 Bug UI UX
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

When using the monaco editor version of the site, I can use all other keyboard shortcuts except copy & paste. Even if I change them to some other command, they don't seem to work.

I'm using the React + TS client template, if that matters. On an iPad Pro 12.9", with a keyboard attached, running iPadOS 13.1 beta. (Copy & pasting hasn't worked at all for me in any version, except for the "mobile" site that lets you use codemirror, but locks you out of everything else.)

Not sure if it's related, but when I click on the paste option in the edit menu, I get some weird behavior where it shows the default iOS paste tooltip. Clicking that does nothing as well.

1AD94285-676B-4F2A-8561-B34AEE2E85D7

I know it's not the monaco editor itself, because I can copy & paste perfectly via their demo:
https://microsoft.github.io/monaco-editor/playground.html

Is there a way to resolve this? It's kind of the last barrier before I can fully start using codesandbox.io.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.