fix(rn) stop room name generator when field is focused
Fixes: https://github.com/jitsi/jitsi-meet/issues/8307
This commit is contained in:
parent
7f1894dd57
commit
e30b2e14a5
|
@ -167,10 +167,17 @@ class WelcomePage extends AbstractWelcomePage {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
_onFieldFocusChange(focused) {
|
_onFieldFocusChange(focused) {
|
||||||
focused
|
if (focused) {
|
||||||
&& this.setState({
|
// Stop placeholder animation.
|
||||||
_fieldFocused: true
|
this._clearTimeouts();
|
||||||
|
this.setState({
|
||||||
|
_fieldFocused: true,
|
||||||
|
roomPlaceholder: ''
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
// Restart room placeholder animation.
|
||||||
|
this._updateRoomname();
|
||||||
|
}
|
||||||
|
|
||||||
Animated.timing(
|
Animated.timing(
|
||||||
this.state.hintBoxAnimation,
|
this.state.hintBoxAnimation,
|
||||||
|
|
Loading…
Reference in New Issue