You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a popup that inherits from SlidePopupView. (Its a progress spinner that I show between navigating pages). When it is showing, and the iPad changes orientation from Portrait to Landscape and back again, it throws a NullReferenceException.
I have a popup that inherits from
SlidePopupView
. (Its a progress spinner that I show between navigating pages). When it is showing, and the iPad changes orientation from Portrait to Landscape and back again, it throws a NullReferenceException.It throws it here: https://github.com/XAM-Consulting/SlideOverKit/blob/master/SlideOverKit.iOS/SlideOverKitiOSHandler.cs#L326
_backgroundOverlay.Frame = new CGRect (0, 0, ScreenSizeHelper.ScreenWidth, ScreenSizeHelper.ScreenHeight);
because
_backgroundOverlay
is null.I pulled the source into my project and added a quick null check right above it and didn't notice any adverse side affects.
Could this line
if(_backgroundOverlay != null)
be added right above it?
The text was updated successfully, but these errors were encountered: