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.26k stars 1.76k forks source link

[iOS] Editor when entering a text which exceeds the maximum height resets the position #25938

Open SuthiYuvaraj opened 2 days ago

SuthiYuvaraj commented 2 days ago

Description

Create a Editor with MaximumHeight and AutoSize as TextChanges , when the text exceeds the maximum height ,each time when you enter the text , the frame gets resetted to the default position

Steps to Reproduce

1.Create a MAUI project

  1. Add Editor with MaximumHeight and AutoSize as TextChanges `

    ` 3.Expected Behavior : Scroller should maintain the same position 4.Actual Behavior : Odd flicker due to reset , we need to scroll to see the text enteredTestMaui.zip

Link to public reproduction project repository

No response

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

kevinxufei commented 2 days ago

I can repro this issue at iOS platform on the latest 17.13 P1(9.0.10 & 9.0.0).

tj-devel709 commented 1 day ago

For reference, this is the behavior

https://github.com/user-attachments/assets/3be90e30-38ea-4457-a623-d51fd9499d53

tj-devel709 commented 1 day ago

Also verified that this happened in .NET 8 as well!