Zalgo text overflows vertically in messages, role names and mentions

(#2084) Bug Closed: Fixed mobile

Reproduction steps

  1. These aren't really steps, just various places where Zalgo text is not bounded as it should be
  2. Paste some Zalgo text into the message box e.g. ä̴̢̙̭͈̹̻͔̥͚̤͖̗͙̬́̐̊̅̂̃̌̆̃̕ͅs̶̡̨̨͙͓͕͖͈̪̻͕̯̫̒̐̓̾̂̄̏̔̉̃͑̏́̕͘͝d̴̨̡̤̰̞͈̰̹̻̫͔̠͖̄̓̾̋̆͗̈́̈́̔̈́̓̀̕̚̕͜͝f̵̰̦̫͑͛̉̚
  3. Use Zalgo text in the name of a role and look at the role in Roles & Permissions
  4. Use Zalgo text in the name of a role, assign it to a user, and look at their community profile
  5. Use Zalgo text in the name of a role and bring up the @ mentions menu

Observed behaviour

The Zalgo text is allowed to spill over vertically. There are probably other areas that I have missed, but these are what I've found. Screenshots attached.

Build information

Version 1.0.0, Beta 55, Channel Beta, Build 2335, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.47.1, Dart 3.13.1

Platform

Android

Details

Expected behaviour In all of these places, Zalgo text should have some vertical boundaries.
  1. Rex changed the status from Needs triage to Fixed

1 comment

Sign in with Fluxer to comment and vote.
Comment by ternera
terneraMod 1 vote
Can reproduce CR - Version 1.0.0, Beta 55, Channel Beta, Build 61, iOS 27.0 (arm64), Device iPhone16,1, Locale en-US, Push apns, Flutter 3.47.1, Dart 3.13.1