-
Notifications
You must be signed in to change notification settings - Fork 1.9k
The .NET MAUI Editor control does not scroll properly on iOS when enclosed in a Border control #20736
Description
Description
I created a new .NET Maui project and modified the main page to add 3 Editor controls, and tested on an iPhone 11 pro:
The first (top) Editor is enclosed in a Border control.
The second Editor is by itself.
The third Editor is enclosed in a Frame control.
When you run the project you see the 3 Editor controls showing some sample data "Line 1", "Line 2", ...
Here is a screenshot on an iPhone 11 Pro:
Then I scrolled down in each of the controls to see the rest of the data (up to "Line 7"):
Notice that in the top Editor, data only up to "Line 4" appears. That is also the last line that appeared initially when the app was launched.
The other two Editor controls do not exhibit that problem.
Steps to Reproduce
(See Description.)
Link to public reproduction project repository
https://github.com/Kurt427/MauiEditorTest
Version with bug
8.0.6 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
iPhone 11 Pro with iOS 15.6.1, iPhone 15 iOS 17.2 Simulator
Did you find any workaround?
Yes, use a Frame control to enclose the Editor rather then a Border control. (The documentation for the Frame control suggests to use a Border control for .NET MAUI projects.)
Relevant log output
No response