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] CollectionView stops allowing scrolling when the keyboard is closed on iOS #25848

Open
TrueMoniker opened this issue Nov 14, 2024 · 2 comments
Labels
s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@TrueMoniker
Copy link

TrueMoniker commented Nov 14, 2024

Description

If the following conditions are met, the collection view will not scroll.

  1. Running on iOS
  2. The header and footer do not fully fit on the screen when the collection items are shown
  3. All items in the collection fit on the screen
  4. The keyboard is opened and then closed. This sometimes takes multiple tries.

I've included a short video of the behavior in my example repo

Steps to Reproduce

  1. Create a CollectionView
  2. Add collection items that can all fit on the screen at once.
  3. Create an item template for your items. Include an Entry with ReturnType="Done" so you can open and close the keyboard
  4. Add a header and footer that is large enough to take up most of the screen
  5. Run the app
  6. Scroll the collection view so all collection items are displayed on the screen
  7. Enter values into an entry.
  8. Close the keyboard with the done key
  9. Try to scroll
  10. Repeat step 6-8. After a few times (typically 2-3), the CollectionView will not scroll.

Link to public reproduction project repository

https://github.com/TrueMoniker/Maui_iOS_CollectionViewScrollFreeze

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

Reproduced on iOS 15.8.3 & 18.0

Did you find any workaround?

Unable to find work around

Relevant log output

@TrueMoniker TrueMoniker added the t/bug Something isn't working label Nov 14, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Nov 14, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.13 Preview 1(9.0.0-rc.2.24503.2 & 8.0.82 & 8.0.93 &8.0.3). Can repro this issue on iOS platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants