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

Content incorrectly scrolls off the screen when keyboard appears #26935

Closed
RoiChen001 opened this issue Jan 3, 2025 · 5 comments
Closed

Content incorrectly scrolls off the screen when keyboard appears #26935

RoiChen001 opened this issue Jan 3, 2025 · 5 comments
Labels
area-keyboard Keyboard, soft keyboard csi-new platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending t/bug Something isn't working
Milestone

Comments

@RoiChen001
Copy link

RoiChen001 commented Jan 3, 2025

Description

Nothing is input, but a value is returned.

Steps to Reproduce

1.Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to iOS platform.
2.Navigate to D23.
3.Bring up the iOS virtual keyboard.
4.Click 'return'.

Actual result:
Nothing is input, but a value is returned.
Image

Expected result:
No value should be returned.

Link to public reproduction project repository

https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests

Version with bug

9.0.30-ci.main.25052.1

Is this a regression from previous behavior?

Not a regression. It can also be reproduced on 9.0.21 and 8.0.3.

Affected platforms

iOS, Android, Windows, macOS

@RoiChen001 RoiChen001 added csi-new platform/android 🤖 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working labels Jan 3, 2025
@mattleibow
Copy link
Member

I think that number is not the message but the counter: https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests/Tests/Editor/D23.xaml.cs&version=GBmain&line=29&lineEnd=30&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents

AppendMessage($"{DateTime.Now:HH:mm:ss}: {++_counter} {Message}");

However, this test still fails because point 2

  1. This test fails if the UI at the top of the screen (including this message) is no longer visible when the keyboard appears.
Image

@mattleibow mattleibow added potential-regression This issue described a possible regression on a currently supported version., verification pending area-keyboard Keyboard, soft keyboard and removed platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 platform/android 🤖 platform/iOS 🍎 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jan 4, 2025
@mattleibow mattleibow added this to the Backlog milestone Jan 4, 2025
@mattleibow mattleibow changed the title [MAUI]D23-Nothing is input, but a value is returned. Content incorrectly scrolls off the screen when keyboard appears Jan 4, 2025
@mattleibow
Copy link
Member

Does the scrolling off the screen also happen with Android?

@mattleibow
Copy link
Member

I updated the issue title as I think the issue is related to the test on the screen, however, I may also be wrong so feel free to revert and let me know why.

@RoiChen001
Copy link
Author

RoiChen001 commented Jan 6, 2025

@mattleibow Thanks for pointing me out the key point of the original issue! Yes, the scrolling off the screen also happen with Android. Actually, Regarding the scrolling off the screen issue, we have a known Github 22309 tracking it. Maybe we can close this issue I opened. If you have any questions, please feel free to contact me.
Image

@mattleibow
Copy link
Member

Duplicate of #22309

@mattleibow mattleibow marked this as a duplicate of #22309 Jan 6, 2025
@mattleibow mattleibow closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-keyboard Keyboard, soft keyboard csi-new platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants