Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

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

Open
kuro7766 opened this issue Apr 25, 2022 · 4 comments
Labels
question Further information is requested

Comments

@kuro7766
Copy link

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

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

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

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

@kuro7766
Copy link
Author

Solution : use TextFormField instead

@zhuxingwei
Copy link
Contributor

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 !

@zhuxingwei zhuxingwei added the question Further information is requested label Apr 26, 2022
@kuro7766 kuro7766 changed the title [Unity 1.5.4 Android] TextField Android触摸点击切换光标位置无效 [uiwidgets 1.5.4 Android] TextField Android触摸点击切换光标位置无效 Apr 26, 2022
@kuro7766
Copy link
Author

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

@kuro7766
Copy link
Author

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

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

No branches or pull requests

2 participants