Unity-Technologies / com.unity.uiwidgets

UIWidgets is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
https://unity.cn/uiwidgets
626 stars 78 forks source link

[uiwidgets 1.5.4 Android] TextField Android触摸点击切换光标位置无效 #320

Open kuro7766 opened 2 years ago

kuro7766 commented 2 years ago

如题,但是这个问题在windows和预览环境上没有

比如想往某个位置插入字符,Android上操作很怪异,无法直接触摸点击

如图,必须在句子的尾部长按,当出现这个小按钮的时候,才可以拖动这个按钮来实现光标滑动。或者用输入法自带的滑动功能。

如果在句子中间点击,会是选中一段句子,无法实现光标处句子插入的功能

kuro7766 commented 2 years ago

Solution : use TextFormField instead

zhuxingwei commented 2 years ago

Hi Thanks a lot for the reporting !

Very sorry that Unity 1.5.4 is not supposed to be a compatible Unity version for neither UIWidgets 1.0 nor UIWidgets 2.0. As the result, since we don't have sufficient QA tests on Unity 1.5.4, it might leads to unknown issues there.

Please upgrade your project to a compatible version of Unity (see here for the details) if possible first and give us your further feedbacks if you still encounter with this issue.

Thanks a lot for your help !

kuro7766 commented 2 years ago

Sorry, I have changed the title. I mean uiwidget's latest version 1.5.4 My UnityVersion is 2019.4.12f1.

kuro7766 commented 2 years ago

minimize example is adding one line new TextField() inside Column widget of README Counter Example script. Then compile it to apk