redth-org / BTProgressHUD

Port to Xamarin.iOS of the SVProgressHUD
Other
118 stars 64 forks source link

Keyboard offset fix #69

Closed matt4pi closed 5 years ago

matt4pi commented 5 years ago

Once a keyboard has been opened and dismissed, the HUD will always be offset by the keyboard height. We don't want that. So now we check if the keyboard's frame is on screen.

Ran this locally before the keyboard was shown, while the keyboard was shown, and after the keyboard was shown, and it all worked as expected.

matt4pi commented 5 years ago

@Redth not sure if you receive notifications when new pull requests come through on here, but thought I'd tag you just in case.

matt4pi commented 5 years ago

@Redth thanks for merging that. Any chance we can get a new NuGet build up on https://www.nuget.org/packages/BTProgressHUD/ ? Cheers