Good afternoon,
with the following code:
<sfPopupLayout:SfPopupLayout x:Name="sfPopupLayout_NewDatabase" StaysOpen="True">
<sfPopupLayout:SfPopupLayout.PopupView>
<sfPopupLayout:PopupView ShowHeader="False" ShowFooter="False" WidthRequest="300" HeightRequest="200">
<sfPopupLayout:PopupView.ContentTemplate>
<DataTemplate>
<Grid Padding="16">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Label x:Name="label_SfPopupLayout_NewDatabase_Title" Grid.Row="0" Text="New database" FontSize="16" FontAttributes="Bold"/>
<sfTextInputLayout:SfTextInputLayout x:Name="sfTextInputLayout_SfPopupLayout_NewDatabase_DatabaseName" Grid.Row="1" ContainerType="Outlined" OutlineCornerRadius="5" FocusedColor="#007bff" ErrorColor="#dc3545" Hint="Database name">
<Entry x:Name="entry_SfPopupLayout_NewDatabase_DatabaseName"/>
</sfTextInputLayout:SfTextInputLayout>
<StackLayout Grid.Row="2" Orientation="Horizontal" HorizontalOptions="End">
<sfButtons:SfButton x:Name="sfButton_SfPopupLayout_NewDatabase_Cancel" Margin="0,10,0,0" CornerRadius="5" HeightRequest="40" BackgroundColor="#6c757d" VerticalOptions="Center" Clicked="SfButton_SfPopupLayout_NewDatabase_Cancel_Clicked" Text="Cancel"/>
<sfButtons:SfButton x:Name="sfButton_SfPopupLayout_NewDatabase_Confirm" Margin="5,10,0,0" CornerRadius="5" HeightRequest="40" BackgroundColor="#007bff" VerticalOptions="Center" Clicked="SfButton_SfPopupLayout_NewDatabase_Confirm_Clicked" Text="Confirm"/>
</StackLayout>
</Grid>
</DataTemplate>
</sfPopupLayout:PopupView.ContentTemplate>
</sfPopupLayout:PopupView>
</sfPopupLayout:SfPopupLayout.PopupView>
</sfPopupLayout:SfPopupLayout>
Once tap/click on SfTextInputLayout i cannot loose the focus tapping/clicking on the white space or outside the popup.
You can find a video attached.
Thanks in advance
Attachment:
20191104_164535_3772813b.7z