Rg.Plugins.Popup
Rg.Plugins.Popup copied to clipboard
[Has]SystemPadding works incorrect on older iOS releases (iOS 11.4)
🐛 Bug Report
There are several problems different for Android/iOS which depends on plugin version, see below.
Expected behavior
[Has]SystemPadding works correct.
Reproduction steps
Just show a PopupPage and see on system padding.
Configuration
Version: 1.x - 2.x
Platform:
- [X] :iphone: iOS
- [X] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [X] :monkey: Xamarin.Forms
Android.
All plugin versions (checked 1.2.0.223-2.0.0.9) works correct when app in fullscreen mode:
But there is problem in split screen mode. OK in landscape:
But not in portrait:
iOS.
Version 1.2.0.223 works OK:
Starting version 2.0.0 it works incorrect:
Test project with the screens above, just in case. TestPopup.zip
@alexpetin this is probably associated with #500 and #553, I will try and see if I get time to implement the fixes they suggest
@LuckyDucko Yes, looks the same.
For iOS - please note that this is regression, so maybe just restore related code from version 1.2.0.223?
As for Android - it's really erroneously applied keyboard offset. Just checked - with HasKeyboardOffset="False"
it works OK.
Moreover it works OK when the app at the bottom of screen:
@alexpetin it seems this issue with system padding causes other issues (#634) as well. I just haven't found the time to give it a good look at.
+1
@EmmanuelJego @alexpetin
@rotorgames has done a legend move and potentially sorted this out, could you check this out again?
@EmmanuelJego @alexpetin
@rotorgames has done a legend move and potentially sorted this out, could you check this out again?
Yes, it works like a charm! 😀 Thanks!
@EmmanuelJego @alexpetin
@rotorgames has done a legend move and potentially sorted this out, could you check this out again?
It works correct on Android and latest iOS, thanks.
But there is problem on old iOS:
I think the issue can be closed because min iOS version available now to simulator is 12.4, where all works correct.