Keyboard Scrolling in editors with Center or End VerticalTextAlignment is off #24977
Labels
area-controls-editor
Editor
area-keyboard
Keyboard, soft keyboard
i/regression
This issue described a confirmed regression on a currently supported version
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
platform/iOS 🍎
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Milestone
Description
When you have a large Editor with the VerticalTextAlignment set to Center or End on iOS, both the keyboard scrolling inside KeyboardAutoManagerScroll and the MauiTextView.ShouldCenterVertically are working at the same time counterproductively to satisfy keeping the cursor above the keyboard and keeping the text aligned to the center or bottom. You'll see once the, editor's content is greater than the size of the editor, the MauiTextView.ShouldCenterVertically method will stop having effect and then just the KeyboardAutoManagerScroll will be keeping the cursor above the keyboard.
KeyboardScrollingEditorAlignment.mov
Steps to Reproduce
Video is from UITest - Issue19214_2
Link to public reproduction project repository
No response
Version with bug
8.0.90 SR9
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
iOS 17
Did you find any workaround?
The keyboard scrolling can be disabled or the editor can be moved to a location above the keyboard
Relevant log output
No response
The text was updated successfully, but these errors were encountered: