Skip to content

Commit

Permalink
Start hide timer when component mounts
Browse files Browse the repository at this point in the history
Fixes element-hq/element-web#18439

Signed-off-by: Šimon Brandner <[email protected]>
  • Loading branch information
SimonBrandner committed Aug 8, 2021
1 parent eeb3220 commit 36eaab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/voip/CallView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default class CallView extends React.Component<IProps, IState> {
public componentDidMount() {
this.dispatcherRef = dis.register(this.onAction);
document.addEventListener('keydown', this.onNativeKeyDown);
this.onShowControls();
}

public componentWillUnmount() {
Expand Down

0 comments on commit 36eaab7

Please sign in to comment.