Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Xfx Entry unhandled NullReferenceException #76

Open
1 task done
AEA94 opened this issue Nov 11, 2018 · 0 comments
Open
1 task done

Xfx Entry unhandled NullReferenceException #76

AEA94 opened this issue Nov 11, 2018 · 0 comments

Comments

@AEA94
Copy link

AEA94 commented Nov 11, 2018

Bug

  • Version Number of Control: 1.1.3
  • Device Tested On: Samsung Galaxy S7, Huawei P9
  • Simulator Tested On: iPhone 8/X

Affects

  • Android

Expected Behavior

Xfx Entry used in a Popup. Should not crash when popup is closed.

Actual Behavior

On Closing Popup Page, Xfx Entry crashes with Nullreference Exception on Android. Works fine for iOS.

Steps to reproduce the Behavior

create a Popup -> Rg.Plugins.Popup (or any other page, but I only tried with a popup)
add an Xfx Entry -> click on it to enter text (don't minimize Android Keyboard!)
while Android Keyboard is still open -> push button to close popup, PopAsync
-> NullReferenceException, CallStack:

System.Diagnostics.Debugger.Mono_UnhandledException(System.NullReferenceException ex)
object.25( Parameters)
Xfx.Controls.Droid.Renderers.XfxEntryRendererDroid.get_EditText()

This does not happen, if the Android Keyboard is closed beforehand!

Feature Request:

As this seems to be a missing Null Check in Android only, please trace this back and fix it. :)
Seems to correlate with opened Keyboard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant