1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Listen for mouseup on the document

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-05-03 08:12:54 +02:00
parent 51e80dd172
commit 7042eb38dd
2 changed files with 2 additions and 1 deletions

View File

@@ -626,7 +626,6 @@ export default class CallView extends React.Component<IProps, IState> {
<div
className="mx_CallView_header"
onMouseDown={this.props.dragCallbacks?.onStartMoving}
onMouseUp={this.props.dragCallbacks?.onEndMoving}
>
<AccessibleButton onClick={this.onRoomAvatarClick}>
<RoomAvatar room={callRoom} height={32} width={32} />