Merge pull request #6581 from SimonBrandner/fix/stuck-buttons/18439

Fade Call View Buttons after `componentDidMount`
This commit is contained in:
Dariusz Niemczyk 2021-08-08 19:54:31 +02:00 committed by GitHub
commit 1e513eeae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,6 +153,7 @@ export default class CallView extends React.Component<IProps, IState> {
public componentDidMount() { public componentDidMount() {
this.dispatcherRef = dis.register(this.onAction); this.dispatcherRef = dis.register(this.onAction);
document.addEventListener('keydown', this.onNativeKeyDown); document.addEventListener('keydown', this.onNativeKeyDown);
this.showControls();
} }
public componentWillUnmount() { public componentWillUnmount() {