Controls slides down when using frame in scrollview and keyboard gets focused. (Happens in iOS only) #22848
Labels
area-controls-entry
Entry
area-controls-scrollview
ScrollView
platform/iOS 🍎
t/bug
Something isn't working
Milestone
Description
I have developed a custom editor control using XAML, which includes a Frame control as a wrapper. When this control is utilized within a Page containing a ScrollView, an issue arises on iOS devices: the entire page shifts downward when the keyboard gains focus.
What a custom control do?
I've developed an ActionableEditor control that displays the full text when it is actively being edited. Once the user stops editing and the editor loses focus, the text is truncated to two lines with an ellipsis. This functionality is managed using the Focused and Unfocused events of the Editor control.
Notably, if these events are removed, this issue not occurs. But than I'll not be able to achieve my requirement.
Steps to Reproduce
Screen.Recording.2024-06-05.at.4.59.54.PM.mov
Link to public reproduction project repository
https://github.com/divyesh008/scrollViewBug_maui.git
Version with bug
Installed Workload Id Manifest Version Installation Source
maui 8.0.21/8.0.100 SDK 8.0.100
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms, No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17.2
Did you find any workaround?
Not yet.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: