I have and entry like below:
<ctrl:BorderLessEntry x:Name="_borderlessEntry" Text="{Binding Text, Source={x:Reference this_flow_text}}"
BackgroundColor="Transparent" Placeholder="{Binding Title, Source={x:Reference this_flow_text}}"
Style="{Binding TextStyle, Source={x:Reference this_flow_text}}"
Keyboard="{Binding Keyboard, Source={x:Reference this_flow_text}}">
<ctrl:BorderLessEntry.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="10,0,20,0" />
<On Platform="Android, WinPhone, Windows" Value="10,0" />
</OnPlatform>
</ctrl:BorderLessEntry.Margin>
</ctrl:BorderLessEntry>
When I tap on it the keyboard hides the entry on iOS platform. I tried couple of workarounds to fix it, but nothing works so far.
Below is its full XAML code: Here FlowFieldGroup is a ContentView.
<?xml version="1.0" encoding="UTF-8"?>
<ctrl:FlowFieldGroup
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ctrl="clr-namespace:Xamarin.Forms.Clinical6.UI.Controls"
x:Class="Xamarin.Forms.Clinical6.UI.Controls.FlowFieldText"
x:Name="this_flow_text">
<ctrl:FlowFieldGroup.Editor>
<Grid VerticalOptions="FillAndExpand" Margin="10,10,10,0" Padding="0" HorizontalOptions="FillAndExpand">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Frame x:Name="_backgroundFrame" Grid.Row="0" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"
BackgroundColor="White" HasShadow="false" BorderColor="#B8B8B8" CornerRadius="3">
</Frame>
<Label Grid.Row="0" Text="{Binding TitleHolder, Source={x:Reference this_flow_text}}"
Style="{StaticResource flowText}" Margin="10,-8,0,0"
IsVisible="false" x:Name="_holderTitleLabel"
FontSize="12" BackgroundColor="White" HeightRequest="15"
HorizontalOptions="Start" VerticalOptions="Start">
</Label>
<ctrl:BorderLessEntry x:Name="_borderlessEntry" Text="{Binding Text, Source={x:Reference this_flow_text}}"
BackgroundColor="Transparent" Placeholder="{Binding Title, Source={x:Reference this_flow_text}}"
Style="{Binding TextStyle, Source={x:Reference this_flow_text}}"
Keyboard="{Binding Keyboard, Source={x:Reference this_flow_text}}">
<ctrl:BorderLessEntry.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="10,0,20,0" />
<On Platform="Android, WinPhone, Windows" Value="10,0" />
</OnPlatform>
</ctrl:BorderLessEntry.Margin>
</ctrl:BorderLessEntry>
<Label VerticalOptions="Start" Grid.Row="1"
HorizontalOptions="StartAndExpand" Margin="2,0,0,0"
Style="{StaticResource loginTextThird}"
HorizontalTextAlignment="Start" x:Name="_errorLabel"
TextColor="{StaticResource ErrorTextColor}" IsVisible="false" />
</Grid>
</ctrl:FlowFieldGroup.Editor>
</ctrl:FlowFieldGroup>
Let me know what other details you need to debug this issue?