Skip to content

[Bug]: iOS text selection stops at the first paragraph of a blockquote #14288

Description

@caiopizzol

Area

apps/mobile

Steps to reproduce

  1. In the iOS app, open a message that has a multi-paragraph blockquote:

    > First quoted paragraph.
    >
    > Second quoted paragraph.
  2. Long-press a word in the first quoted paragraph.

  3. Drag the selection handle into the second quoted paragraph.

Video:
https://github.com/user-attachments/assets/e29f6ba3-054c-4411-9ccc-0ee93b1ad344

Expected behavior

The selection extends across the quoted paragraphs, as it does for paragraphs that are not quoted.

Actual behavior

The selection stops at the end of the first quoted paragraph. With the > markers removed, the same text can be selected across paragraphs.

Cause

Each paragraph inside a blockquote is rendered in its own native text view, and iOS text selection cannot cross from one text view to another.

A temporary unit test on main @ d2c9281b8 confirmed the split. A four-paragraph quote becomes its own chunk, and each of its paragraphs renders as a separate text view. Without the quote, the same paragraphs stay in one chunk.

I haven't checked this on the iOS Simulator or on Android. Android uses the same chunking, so it may have the same problem.

Impact

Minor bug or occasional failure

Version or commit

main @ d2c9281b8. Introduced in #6482, first released in v0.0.34.

Environment

T3 Code iOS app on iPhone

Workaround

Use Copy message to copy the whole message, or copy one quoted paragraph at a time.

Activity

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.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions