element-hq / element-hq/element-web

`EditMessageComposer` doesn't react to change in `props`

Open
#22,215 0 comments 0 reactions 0 assignees View on GitHub
A-Developer-Experience A-Testing Hacktoberfest Help Wanted O-Uncommon S-Major T-Task
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

The model is set in `createEditorModel()` which is only ever called in the `constructor()`, so if we change the `editState` prop, it doesn't get reflected in the editor. This normally isn't an issue but it makes it impossible to write multiple tests for the component

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.