element-hq / element-android

A Matrix collaboration client for Android.

Home Page:https://element.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crashes when inserting blank line after emoji in WYSIWYG composer

giomfo opened this issue · comments

Steps to reproduce

  1. Enable the new WYSIWYG composer
  2. Writing a message
  3. add an emoji to the message
  4. after the emoji, press 2x Enter -> insert blank line (ok)
  5. continue writing text on the new line

Outcome

What did you expect?

One can continue writing text in the expected line

What happened instead?

The app crashes
(sometimes the first message and the emoji are deleted)

Your phone model

No response

Operating system version

No response

Application version and app store

v1.6.5

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

No

This has been fixed in matrix-org/matrix-rich-text-editor#824.

We'll need to update the rich text editor to v2.14.0 to get this in Element Android.

fixed by #8607