element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.73k stars 486 forks source link

Difference font text size on chat room #7604

Open ysavr opened 1 year ago

ysavr commented 1 year ago

Steps to reproduce

  1. send very long text on chat
  2. send short text

Outcome

What did you expect?

Your phone model

iPhone 14

Operating system version

IOS 16.5

Application version

matrixSDKVersion = '= 0.23.18'

Homeserver

No response

Will you send logs?

No

pixlwave commented 1 year ago

@ysavr Unable to reproduce this on our side. 2 thoughts:

ysavr commented 1 year ago

@pixlwave

ysavr commented 1 year ago

this issue appears when the message is the result of copy paste

Screenshot 2023-06-22 at 14 39 39
pixlwave commented 1 year ago
  • where can i do to check if it the message using formatted_body or not?
ysavr commented 1 year ago
  • where can i do to check if it the message using formatted_body or not?
  • Long press on a message.
  • Tap More on the bottom right.
  • Tap View Decrypted Source.
  • If the content just has a body then it isn't formatted.
  • If the content has a formatted_body you will see the HTML that is used to render the message.

how to make all text messages using same font size?

pixlwave commented 1 year ago

Was that the issue, that they're formatted messages?

ysavr commented 1 year ago

yes they're formatted message

Simulator Screenshot - iPhone 14 - 2023-07-04 at 09 37 31

Simulator Screenshot - iPhone 14 - 2023-07-04 at 09 42 39