element-hq / element-hq/element-web
Pressing Esc does not mark room as read
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Sometimes, when I switch into a room
2. and press Esc to clear mark the room as read
### Outcome
#### What did you expect?
It should mark the room as read, causing the indicator in the top-right to disappear: 
#### What happened instead?
Nothing happens. I hammer Esc and the indicator doesn't disappear.
If I click the "X" button below the indicator, the indicator disappears as expected.
When I switch to another room and back again, the indicator in the top right still shows unread messages. Now when I press Esc the unread marker disappears, as expected.
If I switch to another room, Esc works as expected.
### Operating system
Ubuntu 21.10
### Browser information
Firefox 98.0.2
### URL for webapp
https://develop.element.io
### Application version
Element version: e6414787d434-react-7600182a35a7-js-b58d09aa9a7a Olm version: 3.2.8
### Homeserver
matrix.org
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.