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

ScrollView with Editor has incorrect screen movement judgment #25817

Open maonaoda opened 1 week ago

maonaoda commented 1 week ago

Description

When there is no need to move the view screen downward, it is still moved incorrectly.

https://github.com/user-attachments/assets/b6b85fb4-240d-4830-99f9-60c6e9b7fc69

Steps to Reproduce

No response

Link to public reproduction project repository

TestMaui_Branch_bug_25817

Version with bug

9.0.0 GA

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

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

maonaoda commented 1 week ago

The Editor`s position should be used incorrectly.

ninachen03 commented 1 week ago

I'm unable to repro this issue on 17.13.0 Preview 1.0 (9.0.0), it would be very helpful if you could provide a sample project , looking forward to your reply. Image

maonaoda commented 1 week ago

sorry, I will add repo tomorrow.

maonaoda commented 1 week ago

I had add the repository.

maonaoda commented 1 week ago

The key to reproduction is whether the virtual position of the Editor exceeds the keyboard when clicking the Editor.

ninachen03 commented 1 week ago

This issue has been verified using Visual Studio 17.13.0 Preview 1.0 (9.0.0 & 9.0.0-rc.2.24503.2 &8.0.93 & 8.0.3). Can repro on iOS platform.