Skip to content

Commit

Permalink
fix: avoid keyboard flickering
Browse files Browse the repository at this point in the history
Signed-off-by: Anjana Mendiratta <expertsquarrel@gmail.com>
  • Loading branch information
GItGudRatio committed Jul 14, 2023
1 parent 7c1fb00 commit 02a8612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceNewRoomPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function WorkspaceNewRoomPage(props) {
Navigation.dismissModal();
}, [props.betas, workspaceOptions]);

if (!Permissions.canUsePolicyRooms(props.betas)) {
if (!Permissions.canUsePolicyRooms(props.betas) || !workspaceOptions.length) {
return null;
}

Expand Down

0 comments on commit 02a8612

Please sign in to comment.