You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I place an Entry or Picker control in a Popup, as soon as the soft keyboard shows up, the Popup goes off screen.
This was working fine before when the app was targeting .NET 7 and the previous version of CommunityToolkit.Maui. To see what maybe causing the issue, I downgraded CommunityToolkit.Maui to 6.1.0 and the app still targeting .NET 8 and the issue persisted. I then changed the TFM to .NET 7 and the issue disappeared. So the issue seems to have someting to do with .NET 8 OR CommunityToolkit.Maui's interaction with .NET 8.
Here's what it looks like:
RPReplay_Final1700763995.mov
Expected Behavior
The Popup should just slide up as it used to.
Steps To Reproduce
Create a Popup in a .NET MAUI app targeting .NET 8 and using CommunityToolkit.Maui v7
Place an Entry control in it. BTW, a Picker control would produce the same issue. Looks like any control that opens up the keybaord would produce the same issue
Run the app iOS device
Open the Popup and tap on Entry to bring up the soft keyboard
using Microsoft.Maui.Platform;
...
// Before we open the Popup, we "Disconnect" KeyboardAutoManagerScroll
#if IOS
KeyboardAutoManagerScroll.Disconnect();
#endif
var popup = new MyPopUp();
var response = await Application.Current.MainPage.ShowPopupAsync(popup);
// Once done with the Popup, we "Connect" KeyboardAutoManagerScroll again
#if IOS
KeyboardAutoManagerScroll.Connect();
#endif
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
If I place an
Entry
orPicker
control in aPopup
, as soon as the soft keyboard shows up, thePopup
goes off screen.This was working fine before when the app was targeting .NET 7 and the previous version of
CommunityToolkit.Maui
. To see what maybe causing the issue, I downgradedCommunityToolkit.Maui
to 6.1.0 and the app still targeting .NET 8 and the issue persisted. I then changed the TFM to .NET 7 and the issue disappeared. So the issue seems to have someting to do with .NET 8 ORCommunityToolkit.Maui
's interaction with .NET 8.Here's what it looks like:
RPReplay_Final1700763995.mov
Expected Behavior
The
Popup
should just slide up as it used to.Steps To Reproduce
Popup
in a .NET MAUI app targeting .NET 8 and usingCommunityToolkit.Maui
v7Entry
control in it. BTW, aPicker
control would produce the same issue. Looks like any control that opens up the keybaord would produce the same issuePopup
and tap onEntry
to bring up the soft keyboardLink to public reproduction project repository
https://github.com/iQuestLLC/test-maui
Environment
Anything else?
Somebody on X mentioned this and it actually works nicely as a workaround:
https://x.com/LachMaksymilian/status/1727792653570384313?s=20
No response
The text was updated successfully, but these errors were encountered: