Zalgo text overflows vertically in messages, role names and mentions

(#2084) Bug Fixed mobile

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.

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

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.
  • MessageBox.png

    MessageBox.png

    1080×491 | 86 kB

  • RolesPermissions.png

    RolesPermissions.png

    1080×723 | 96 kB

  • CommunityProfile.png

    CommunityProfile.png

    1073×378 | 41 kB

  • Mentions.png

    Mentions.png

    1080×396 | 62 kB

  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