Keyboard offset should work and resize the page with the padding height of keyboard
Version of Xamarin: 4.8.0.1821 (latest stable release)
Version of the plugin: 2.0.0.7 or newer
Platform:
Is there any progress or a solution? 2.0.0.6 isn't compatible with Xamarin.Forms 5+ and popups are important for us..
We could determine that if you remove the if statement in line 64 in the PlatformExtension.cs file it will work as expected. Maybe this will help to fix this issue.
hey @WorldOfBasti I think I found it.
Line 64 was added in to make XF 5.0 work (a pre-release of it anyway), so while removing it does make XF4.8 work smooth, it does suffer the same original bug as #589. So I had to keep it in.
the fix was related however (good catch), adding an extra condition for the system padding changing, which is what the keyboard offset works with, allowed it to work. Line 64 is now
if ((renderer.Element.Width != superviewFrame.Width && renderer.Element.Height != superviewFrame.Height)
|| currentElement.SystemPadding.Bottom != systemPadding.Bottom)
{
I have a branch patch-#625, do you mind giving it a whirl in your project and see if it helps out? if it does I'll merge it in
Hello @LuckyDucko,
Yes I can confirm with this works it as expected.
Hello, when is the new version with this fix expected to be available on NuGet?
only @martijn00 has control concerning the NuGets, I'll close this ticket when he pushes one out
New nuget is up now
Most helpful comment
New nuget is up now