UnityNativeEditBox
UnityNativeEditBox copied to clipboard
Dark background on Inputfield MultiLine Content Config
Hi,
Thnks for the great pluging. Im testing on iOS an multiple entry on inputfield. but when get the focus on inputfield, the background turns "dark" color (black). But when unfocus the field, the background turns previous color. (white)
On the NativeEditBox config, the checkbox "Switch Between Native and Unity " is actived
This issues not happens on Single Line config.

thanks.
That is odd, the native text view has a transparent background.. And the unity text field isnt set up with a white background ?
That is odd, the native text view has a transparent background.. And the unity text field isnt set up with a white background ?
yes.. is really weird..
I tested on "none" background (solid color white) and with different sprites. The result still the same.

Basically, you can reproduce it creating a new project and only adding the Native plugin to Inputfield and setting the Multi Line Type.
My version is: Unity 2020.2.2f1 (also tested on 2021.2.7f1) iOS
After check NativeEditBox.mm, i added the property [text setBackgroundColor:UIColor.whiteColor]; to avoid the black background.

Hi! Thanks for looking in to this ⭐ Could you try with using clear color ? And if that works a pull request would be lovely :) Thanks!