Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Editor does not scroll when cursor goes behind keyboard #20631

Closed
blakepulman opened this issue Feb 16, 2024 · 5 comments · Fixed by #24589
Closed

[iOS] Editor does not scroll when cursor goes behind keyboard #20631

blakepulman opened this issue Feb 16, 2024 · 5 comments · Fixed by #24589
Assignees
Milestone

Comments

@blakepulman
Copy link

Description

When the text content of an editor is being edited with the soft keyboard open, the editor should scroll to keep the cursor in view (i.e. when a new line is created or the text continues onto another line), however instead, the text continues behind the soft keyboard, and is unable to be scrolled into view.

Tested on 8.0.3, 8.0.7, and 9.0.0-preview.1.9973, all display the same behaviour.

Steps to Reproduce

  1. Load the repro project (including setting an app identifier if testing on a physical device)
  2. Start the application on an iOS device or simulator
  3. Edit text in the editor (bottom half of the screen) with the soft keyboard, so that it would go behind the keyboard.
  4. Notice that the view does not scroll, and you are unable to scroll the text into view without closing and reopening the keyboard.

Link to public reproduction project repository

https://github.com/blakepulman/MauiiOSEditorNotScrolling

Version with bug

8.0.3 GA

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?

No response

Relevant log output

No response

@blakepulman blakepulman added the t/bug Something isn't working label Feb 16, 2024
@mattleibow
Copy link
Member

@tj-devel709 @PureWeen thoughts?

@mattleibow mattleibow added this to the Backlog milestone Feb 20, 2024
@ghost
Copy link

ghost commented Feb 20, 2024

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@mattleibow mattleibow added legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-keyboard Keyboard, soft keyboard area-controls-editor Editor labels Feb 20, 2024
@blakepulman
Copy link
Author

blakepulman commented Feb 26, 2024

I also tested this in .NET 7.0.313 and iOS 16.4, both display the same behavior.

@awattar
Copy link

awattar commented Jul 18, 2024

Any updates?

@ajay-mundi
Copy link

ajay-mundi commented Aug 12, 2024

Any updates on this or a workaround? @awattar are you still struggling with this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.