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

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

Open

Description

@kuro7766

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

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

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

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

Activity

  1. kuro7766 commented on Apr 25, 2022

    @kuro7766
    Author

    Solution : use TextFormField instead

  2. zhuxingwei commented on Apr 26, 2022

    @zhuxingwei
    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 !

  3. changed the title [-][Unity 1.5.4 Android] TextField Android触摸点击切换光标位置无效[/-] [+][uiwidgets 1.5.4 Android] TextField Android触摸点击切换光标位置无效[/+] on Apr 26, 2022
  4. kuro7766 commented on Apr 26, 2022

    @kuro7766
    Author

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

  5. kuro7766 commented on Apr 26, 2022

    @kuro7766
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions