From 484b5a51603a1f268a00c9eb9830e2fb349291a0 Mon Sep 17 00:00:00 2001 From: Dinis Vieira Date: Sat, 28 Oct 2023 19:02:54 +0100 Subject: [PATCH] PM-3349 PM-3350 Minor change to HomePage to set fixed Image height otherwise it takes more space than it did in the old Xamarin Forms app. Added HIdeSoftInputOnTapped on several pages (the ones with Entry controls) to allow hiding the keyboard when tapping "outside" of it. (just like we did in Xamarin Forms app) --- src/Core/Pages/Accounts/EnvironmentPage.xaml | 1 + src/Core/Pages/Accounts/HintPage.xaml | 1 + src/Core/Pages/Accounts/HomePage.xaml | 2 ++ src/Core/Pages/Accounts/LockPage.xaml | 1 + src/Core/Pages/Accounts/LoginPage.xaml | 1 + src/Core/Pages/Accounts/LoginSsoPage.xaml | 1 + src/Core/Pages/Accounts/RegisterPage.xaml | 1 + src/Core/Pages/Accounts/SetPasswordPage.xaml | 1 + src/Core/Pages/Accounts/TwoFactorPage.xaml | 1 + src/Core/Pages/Accounts/UpdateTempPasswordPage.xaml | 1 + src/Core/Pages/Accounts/VerificationCodePage.xaml | 1 + src/Core/Pages/Generator/GeneratorPage.xaml | 1 + src/Core/Pages/Send/SendAddEditPage.xaml | 1 + src/Core/Pages/Send/SendAddOnlyPage.xaml | 1 + src/Core/Pages/Settings/ExportVaultPage.xaml | 1 + src/Core/Pages/Settings/FolderAddEditPage.xaml | 1 + src/Core/Pages/Vault/CipherAddEditPage.xaml | 1 + src/Core/Pages/Vault/CipherDetailsPage.xaml | 1 + src/Core/Pages/Vault/ScanPage.xaml | 1 + 19 files changed, 20 insertions(+) diff --git a/src/Core/Pages/Accounts/EnvironmentPage.xaml b/src/Core/Pages/Accounts/EnvironmentPage.xaml index 30abcd2a9..0f97236f6 100644 --- a/src/Core/Pages/Accounts/EnvironmentPage.xaml +++ b/src/Core/Pages/Accounts/EnvironmentPage.xaml @@ -5,6 +5,7 @@ x:Class="Bit.App.Pages.EnvironmentPage" xmlns:pages="clr-namespace:Bit.App.Pages" xmlns:u="clr-namespace:Bit.App.Utilities" + HideSoftInputOnTapped="True" x:DataType="pages:EnvironmentPageViewModel" Title="{Binding PageTitle}"> diff --git a/src/Core/Pages/Accounts/HintPage.xaml b/src/Core/Pages/Accounts/HintPage.xaml index 8ddf3efd4..bc8aae753 100644 --- a/src/Core/Pages/Accounts/HintPage.xaml +++ b/src/Core/Pages/Accounts/HintPage.xaml @@ -6,6 +6,7 @@ xmlns:pages="clr-namespace:Bit.App.Pages" xmlns:u="clr-namespace:Bit.App.Utilities" x:DataType="pages:HintPageViewModel" + HideSoftInputOnTapped="True" Title="{Binding PageTitle}"> diff --git a/src/Core/Pages/Accounts/HomePage.xaml b/src/Core/Pages/Accounts/HomePage.xaml index c419ccd15..eba47bc87 100644 --- a/src/Core/Pages/Accounts/HomePage.xaml +++ b/src/Core/Pages/Accounts/HomePage.xaml @@ -7,6 +7,7 @@ xmlns:controls="clr-namespace:Bit.App.Controls" xmlns:u="clr-namespace:Bit.App.Utilities" x:DataType="pages:HomeViewModel" + HideSoftInputOnTapped="True" x:Name="_page" Title="{Binding PageTitle}"> @@ -34,6 +35,7 @@