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

Inputsoft resize android not work on PopupPage #7

Open
guilhermeheibel opened this issue Apr 11, 2024 · 9 comments
Open

Inputsoft resize android not work on PopupPage #7

guilhermeheibel opened this issue Apr 11, 2024 · 9 comments

Comments

@guilhermeheibel
Copy link

When testing RgPopup for Maui I have an entry in the view, where when I bring up the keyboard it does not respect
App.Current.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);

covering up the entry with keyboard.
Do we have any predictions for an adjustment? Mopups also have the same problem, and there is already an open bug... will Rg be able to make this adjustment?

@microspaze
Copy link
Owner

Can you give more information about this issue? A screenshot or a demo project? Also you can give the Mopups issue link for reference. Thanks.

@guilhermeheibel
Copy link
Author

I'll try to reproduce an example here, but the bug is very simple, when activating resize inputsoft on MAUI/Android so as not to cover up the contents of the scrollview when bringing up the keyboard on Android it doesn't respect and hides the entry and everything else inside the scrollview and inside a PopupPage... the same view in a normal Page is not hidden as expected

LuckyDucko/Mopups#79

@microspaze
Copy link
Owner

OK, I will take time to try fix it this week.

@microspaze
Copy link
Owner

microspaze commented Apr 17, 2024

20240417_151444.mp4

@guilhermeheibel I'm not sure whether this issue has been fixed by Maui SDK team in the latest release build on Android platform.

@briankanelson
Copy link

I am experiencing the same issue with mopups.

On the attached example you tap a button to open a popup page. That popup contains an editor at the top of the page, and at the bottom there is a button. When making focus on the editor, the keyboard is displayed and the button gets overlaped by the keyboard, even if I set App.Current.On<Microsoft.Maui.Controls.PlatformConfiguration.Android>().UseWindowSoftInputModeAdjust(WindowSoftInputModeAdjust.Resize);

TestPopup.zip

@Alvin-2101
Copy link

I am also facing same issue with mopups for both iOS and Android. Is three any workaround at lease for iOS?

@microspaze
Copy link
Owner

microspaze commented May 8, 2024

I'm working on this issue this week and I think it can be fixed in the next version before this weekend for both iOS and Android platforms.

microspaze added a commit that referenced this issue May 9, 2024
…le property IsPopupWindowResizable to support PopupPage's layout resizing when SoftInput Keyboard popped-up)
@microspaze
Copy link
Owner

microspaze commented May 13, 2024

@guilhermeheibel and @briankanelson I have published a new version 1.0.9 which includes the fix. You can try it by yourself.

The demo test case is also included in the https://github.com/microspaze/RGPopup.Maui/blob/main/RGPopup.Samples/Pages/CommentPopupPage.xaml
https://github.com/microspaze/RGPopup.Maui/blob/main/RGPopup.Samples/MainPage.xaml.cs#L112

@Alvin-2101 You can also try the latest version. It may fix your problem too.

@guilhermeheibel
Copy link
Author

@guilhermeheibele@briankanelsonPubliquei uma nova versão 1.0.9 que inclui a correção. Você pode tentar sozinho.

O caso de teste de demonstração também está incluído em https://github.com/microspaze/RGPopup.Maui/blob/main/RGPopup.Samples/Pages/CommentPopupPage.xaml https://github.com/microspaze/RGPopup.Maui/ blob/main/RGPopup.Samples/MainPage.xaml.cs#L112

@Alvin-2101Você também pode experimentar a versão mais recente. Isso também pode resolver o seu problema.

Thank you very much! This correction will be appreciated in my projects, congratulations for your commitment and dedication to RgPopup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants