Skip to content

Reply previews are no longer limited to 2 lines #27928

Closed
matrix-org/matrix-react-sdk
#12929
@robintown

Description

@robintown

Steps to reproduce

  1. Find a message that has more than 2 lines of text
  2. Reply to said message

Outcome

What did you expect?

The reply preview should be limited to show only the first 2 lines of text by default. (This is why the "expand quotes" button exists.)

What happened instead?

I see the entire message contents in the reply preview:

Screenshot 2024-08-16 at 11-41-42 Element 3 Test room

Operating system

NixOS unstable

Browser information

Firefox 127.0.2

URL for webapp

develop.element.io

Application version

Element version: 43fa2e5-react-6f3dc3069318-js-d6080398dbf5 Crypto version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0

Homeserver

Not relevant

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-RepliesreplyA-TimelineO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-Regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions