mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Mark room as read when escape is pressed
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
26bda5933b
commit
76104edeca
@ -560,6 +560,12 @@ export default createReactClass({
|
||||
handled = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case Key.ESCAPE:
|
||||
this._messagePanel.forgetReadMarker();
|
||||
this.jumpToLiveTimeline();
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (handled) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user