PureWeen / ShanedlerSamples

MIT License
76 stars 13 forks source link

[Keyboard] Auto-scroll does not work on CommunityToolkit.Maui.Core.Views.MauiPopup #13

Open akshayamantya opened 1 year ago

akshayamantya commented 1 year ago

Hello @PureWeen , Thanks for adding the keyboard fix to the package. However, I noticed a minor missing feature, when we have a CommunityToolkit.Maui.Core.Views.MauiPopup, if I tap an Entry of that CommunityToolkit.Maui.Core.Views.MauiPopup the content is of popup is scrolling and UI looks odd. It is tested on iOS, iPadOS and the facing the above issue Thank you!

PureWeen commented 1 year ago

@tj-devel709

FYI: This work is also part of our current .NET8 previews so you can test there without using this code

tj-devel709 commented 1 year ago

Thanks for this issue! I can confirm that I saw weird behavior going on as well:

https://github.com/PureWeen/ShanedlerSamples/assets/50846373/da2f1e09-055b-411d-8dfa-42d7d8548b93

tj-devel709 commented 1 year ago

Can also confirm this happens in Maui main

imsam67 commented 11 months ago

I opened an issue about this too and issuing KeyboardAutoManagerScroll.Disconnect(); before opening the Popup seems to be a workaround for iOS. Providing a link to the issue I opened for you to see the full code I use to get around this issue. Of course, it's still a bug and the solution is only a workaround: https://github.com/CommunityToolkit/Maui/issues/1561