channel/mention autofill suggestions remove a space before when selected

(#1608) Bug Fixed messaging mobile

Observed behaviour

the space (just one) gets removed, causing the mention/channel to appear right next to the word before

Reproduction steps

  1. draft a message
  2. type a space followed by an @ or #
  3. start typing something that would show up in the autofill menu
  4. select something from the autofill

Build information

Beta 16, Version 1.0.0, iOS 18.7.8 (arm64), Device iPhone17,1, Locale en-US, Push apns, Flutter 3.44.0, Dart 3.12.0

Platform

iOS

Details

Expected behaviour the space before the channel/mention should be preserved
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by UwU Juliaxe UwU
Can reproduce Beta 42, Version 1.0.0, Android 16 (arm64), Device samsung SM-A176B, Locale en-US, Push fcm, Flutter 3.44.0, Dart 3.12.0
Comment by Raptor
Raptor 1 vote
Can reproduce Beta 42, Version 1.0.0, Android 16 (arm64), Device samsung SM-S928U1, Locale en-US, Push fcm, Flutter 3.44.0, Dart 3.12.0
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Beta 2041, Version 1.0.0, Android 15 (arm64), Device OnePlus CPH2465, Locale en-GB, Push unifiedpush, Flutter 3.44.0, Dart 3.12.0