We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以下均为示例程序中的代码 步骤:
设置toolbarController
选择文本,并在ContextMenuControllerImpl中调用showMenu 此时anchors.primaryAnchor的值为Offset(-10000.0, -10000.0),而anchors.secondaryAnchor此时不为null,为正确的值,样例程序中使用了anchors.primaryAnchor会导致菜单定位到屏幕左上角,如果不选择文本仅长按的话,primaryAnchor为(0,0), secondaryAnchor 为null
在Android上调用showMenu后,编辑器中选择的文本没有框选背景了,感觉是被抢了焦点?现在我的解决办法是showMenu后延迟一段时间重新对selection进行赋值操作
还有就是Android上长按不会自动选择点击所在的文本
The text was updated successfully, but these errors were encountered:
你好,位置不正确不知道是不是example的问题,我用reqable测试好像没有这个问题。最后一个问题,Android上长按不会自动选择点击所在的文本,这个问题能复现。
Sorry, something went wrong.
Long press will select a word on mobile platform #52
1c09c87
MegatronKing
No branches or pull requests
以下均为示例程序中的代码
步骤:
设置toolbarController
选择文本,并在ContextMenuControllerImpl中调用showMenu
此时anchors.primaryAnchor的值为Offset(-10000.0, -10000.0),而anchors.secondaryAnchor此时不为null,为正确的值,样例程序中使用了anchors.primaryAnchor会导致菜单定位到屏幕左上角,如果不选择文本仅长按的话,primaryAnchor为(0,0), secondaryAnchor 为null
在Android上调用showMenu后,编辑器中选择的文本没有框选背景了,感觉是被抢了焦点?现在我的解决办法是showMenu后延迟一段时间重新对selection进行赋值操作
还有就是Android上长按不会自动选择点击所在的文本
The text was updated successfully, but these errors were encountered: