element-hq / element-hq/element-web
Input new message is sometimes very slow (blocking for some seconds)
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Type a new message.
### Outcome
#### What did you expect?
The message appears immediately while typing.
#### What happened instead?
The page blocks and the message appears seconds after typing.
The keydown event handler ist blocking for several seconds, caused by getDevicesInRoom(). Please find attached a screenshot of the performance inspector.

### Operating system
Linux
### Browser information
Version 99.0.4844.74 (Official Build) (64-bit)
### URL for webapp
_No response_
### Application version
Element Version: 1.10.7 Olm Version: 3.2.8
### Homeserver
Synapse 1.55.0
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.