Skip to main content
In a browser, write does nothing and read resolves null. Use navigator.clipboard there:

Selectable text

In the mobile app, text in a mini app cannot be selected by default, as in a native app: a long press on a label or a button does nothing. Fields (input, textarea, contenteditable) stay selectable. Reading text, such as a chat message, an article or a recipe, can opt back in with a data-selectable attribute. A long press then selects and copies as a native text view does: