Skip to content

Mobile terminal: unable to paste from clipboard on iOS/Android #5

Description

@Stacylia

Descriptiona

When accessing a server or container terminal via a mobile device (iOS/Android), it is currently impossible to paste text from the clipboard. Long-pressing inside the terminal window does not trigger the native mobile OS "Paste" context menu.

Why this happens

This is a known behavior with xterm.js in mobile web environments, where touch/pointer events intercept the native OS selection and context menu actions, disabling the long-press clipboard function.

While PR #10498 recently introduced excellent mobile terminal controls, it does not currently include a way to trigger a paste event from the device clipboard.

Steps to Reproduce

  1. Open the Coolify dashboard on a mobile browser (Safari, Chrome, etc.) over HTTPS.
  2. Navigate to a server or application terminal.
  3. Copy some text or an environment variable on your phone.
  4. Long-press inside the terminal to paste it—observe that the native paste menu does not appear.

Expected Behavior

Users should be able to paste clipboard text into the terminal on mobile, either by allowing the native long-press menu to appear or by adding a dedicated "Paste" button to the mobile terminal control overlay.

Environment

  • Coolify Version: v4.12
  • OS: iOS 26
  • Browser: Mobile Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions