-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
A-PillsP1S-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-Regression
Description
Clicking on a SenderProfile (displayname above message) should insert a pill into the composer. This has regressed with an error message (when the composer is empty):
Uncaught TypeError: Cannot read property 'getEntityAt' of undefined
at Object.removeRange (DraftModifier.js:100)
at removeTextWithStrategy (removeTextWithStrategy.js:39)
at keyCommandPlainDelete (keyCommandPlainDelete.js:27)
at onKeyCommand (editOnKeyDown.js:46)
at editOnKeyDown (editOnKeyDown.js:141)
at DraftEditor.react.js:146
...If the composer has text in it, it appears to insert whitespace but when switching between rich mode and markdown mode, markdown pills might appear. Or the composer might be broken until a room switch happens.
Metadata
Metadata
Assignees
Labels
A-PillsP1S-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-Regression