UnityNativeEditBox icon indicating copy to clipboard operation
UnityNativeEditBox copied to clipboard

Advice on Inputfield "interactable" property

Open ghoenicka opened this issue 2 years ago • 1 comments

I haved an unstable behavior on NativeEditBox plugin on Android device mostly cases.. ( cant select the text at certain character or when click back button the new text typed disappeared )

After a deep debugging, I noticed that any change on the runtime, the property "interactable", disabled the calls of native input fields. So basically I created a function that force the destroy calls of the plugin and when the OnPointerClick events is called, the CreateNow functions refresh all native events.

just reference: image

and the call .. something like this: image

The config on NativeEditBox have switchBetweenNativeAndUnity set true this is tested on Unity v2020.2.2f1 on Android device.

thnks for the great job on this plugin.

ghoenicka avatar Aug 11 '22 14:08 ghoenicka

hmm well that is strange. Interactable should be off when the native object is alive and should switch on when its destroyed.. But thanks for the find! ⭐

nostek avatar Aug 12 '22 08:08 nostek