Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix VOIP bar hidden on first render of RoomStatusBar #774

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

lukebarnard1
Copy link
Contributor

componentDidUpdate is not called for the initial render of a React component (https://facebook.github.io/react/docs/react-component.html#componentdidupdate)

componentWillMount is used so that the initial state and props of RoomStatusBar can also trigger props.isVisible.

This fixes element-hq/element-web#3181

componentDidUpdate is not called for the initial render of a React component (https://facebook.github.io/react/docs/react-component.html#componentdidupdate)

componentWillMount is used so that the initial state and props of RoomStatusBar can also trigger props.isVisible.

This fixes element-hq/element-web#3181
@dbkr dbkr merged commit e1b7347 into develop Mar 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status bar no longer shows when you trigger a VoIP call
2 participants