microspaze / RGPopup.Maui

Popup controls for .NET MAUI migrated from Rg.Plugins.Popup for Xamarin with some fixes.
MIT License
42 stars 10 forks source link

The popup with Entry can not show above of the keyboard. #9

Open john-heaven opened 7 months ago

john-heaven commented 7 months ago

I am using RGPopup.Maui Version="1.0.7.

Due to need a customed Entry PopUp, I create a basic RGPopup page. Using StackLayout as Root Layout, inside it, add two Entrys.

The popup shows without tapping Entry on the center of the screen always. That's what I want and it works.

However, it can not show above keyboard when tapping Entry.

Note: In Xamarin, popup will move up when keyboard shows.

截屏 2024-04-12 10 34 40

microspaze commented 7 months ago

I will try to fix it this weekend. Thanks for reporting.

microspaze commented 7 months ago

Fix in the latest version 1.0.8 https://www.nuget.org/packages/RGPopup.Maui/1.0.8

Thanks for reporting this issue. Please help to verify the fix when you are free!

john-heaven commented 6 months ago

Fix in the latest version 1.0.8 https://www.nuget.org/packages/RGPopup.Maui/1.0.8

Thanks for reporting this issue. Please help to verify the fix when you are free!

@microspaze When I back to this project, and having a try with 1.0.8. It works a little! That means the popup page will move up a liittle, however the entry can not show all the content.

Now, I am using modify the Margin of page when Entry focused and unfocused as the workrouund.

Thanks, my bro! You are awesome! Sorry to reply lately.

john-heaven commented 6 months ago

@microspaze Forgetting that, the project are using dotnet 7.0. It seems works on the Phone whole, not on Pad.

microspaze commented 6 months ago

@john-heaven The fix has been refined and tested on Pad in the latest version 1.0.9 https://www.nuget.org/packages/RGPopup.Maui/1.0.9 . You can try it by yourself.

john-heaven commented 5 months ago

@microspaze Hi, I had checked this last week. It seems not working. The View will move a little up. However, keyboard will also overlay. Maybe, you could share a sample with custom popup view which contains a entry. I will check that whether it works.