Skip to content

[Bug]: Unable to select multiple lines of code in the file viewer on Android #30178

Closed

Description

@NandkishorJadoun

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Open any code file in T3 Code on an Android device.
  2. Long-press or attempt to select a portion of the code.
  3. Try extending the selection to include multiple lines.
  4. Observe that the selection remains restricted to a single line.

Expected behavior

Text selection should support selecting multiple lines, just like a typical code editor or text viewer. Users should be able to adjust the selection handles across lines and copy the entire selected code snippet.

Actual behavior

Text selection is restricted to a single line, making it impossible to copy multiple lines of code.

Impact

Minor bug or occasional failure

Version or commit

No response

Environment

Android

Logs or stack traces

Screenshots, recordings, or supporting files

screen-20261103-184201.2.mp4

Workaround

No response

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Nov 3, 2026
  2. mmahmad-bot commented on Nov 9, 2026

    @mmahmad-bot

    iOS has the same problem in this file viewer, tracked separately in #33178. With word wrap off, source text (JSON, YAML, code) can't be selected at all. With word wrap on, a long-press only offers Copy for the whole line.

    PR #31286 fixes this issue on Android but deliberately leaves iOS on its existing renderer, so #33178 stays open after it merges. Linking the two in case it makes sense to extend the long-press flow to iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions