Fade buttons after componentDidMount

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-08-08 11:26:57 +02:00
parent 92a60497d2
commit 96b651e326
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

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() {