Skip to content

[Windows] The CollectionView doesn't scroll automatically when the on-screen keyboard appears #17

@devanathan-vaithiyanathan

Description

Description

I have a CollectionView with Entry and Label controls as the item template for each row. When I touch the Entry control on my Windows machine to edit the text, the on-screen keyboard appears since I have enabled it. However, when the on-screen keyboard appears, the Entry element is hidden by the keyboard area.

This works perfectly in Xamarin CollectionView. I have attached both Xamarin and MAUI demos for your reference.

Steps to Reproduce

Run the provided sample.
Enable the touch screen via Windows Settings -> Personalization -> Text Input -> Touch Keyboard and Windows Settings -> Time & Language -> Typing -> Touch Keyboard to always.
Maximize the window and scroll to the bottom to reach the last item (30).
Touch the Entry control containing the text "30" using the touch screen.
You will notice that the keyboard appears on the screen, but the CollectionView does not react to the view changes or scroll the element to make it visible.

Link to public reproduction project repository

https://github.com/ashok-kuvaraja/MauiListView/tree/main/MauiSimpleApp

Version with bug

9.0.90 SR9

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions