dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

Double tapping Editor control locks app when deployed to iPad. #25975

Open King-Taz opened 1 week ago

King-Taz commented 1 week ago

Description

Double tapping the Editor locks the app up completely when deployed to iPad. This occurs for both net 8 and 9 and is reproducible using simulator and physical device. iPhones do not appear to be affected by this. Entry control works well and does not lock up the app. Editor and Entry controls can be added to the demo Maui app as below to duplicate the issue.

Steps to Reproduce

Add Editor and Entry controls to the demo maui app as below and run the app. Double tap on Entry control to verify it works well. Double tap on Editor control and lock your app up!

    <ScrollView>
        <VerticalStackLayout
            Padding="30,0"
            Spacing="25">
            <Image
                Source="dotnet_bot.png"
                HeightRequest="185"
                Aspect="AspectFit"
                SemanticProperties.Description="dot net bot in a hovercraft number nine" />

            <Label
                Text="Hello, World!"
                Style="{StaticResource Headline}"
                SemanticProperties.HeadingLevel="Level1" />

            <Label
                Text="Welcome to &#10;.NET Multi-platform App UI"
                Style="{StaticResource SubHeadline}"
                SemanticProperties.HeadingLevel="Level2"
                SemanticProperties.Description="Welcome to dot net Multi platform App U I" />

            <Button
                x:Name="CounterBtn"
                Text="Click me" 
                SemanticProperties.Hint="Counts the number of times you click"
                Clicked="OnCounterClicked"
                HorizontalOptions="Fill" />

            <Editor Text="Hello" FontSize="24" VerticalOptions="Center" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand" AutoSize="TextChanges"/>

            <Entry Text="Hello" FontSize="24" VerticalOptions="Center" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand" />

        </VerticalStackLayout>
    </ScrollView>
,,,

### Link to public reproduction project repository

_No response_

### Version with bug

9.0.10 SR1

### Is this a regression from previous behavior?

Not sure, I know its present in net8 and net9

### Last version that worked well

unknown, i only started maui at net8

### Affected platforms

iOS, specifically iPadOS which is slightly different than iPhoneOS

### Affected platform versions

iPadOS

### Did you find any workaround?

No work around yet

### Relevant log output

```shell
Zhanglirong-Winnie commented 1 week ago

This issue has been verified using Visual Studio 17.13 Preview 1(9.0.10 & 8.0.100). Can repro this issue on iOS iPad(18.1 & 17.5) platform. Image