Skip to content
New issue

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

H5中Input组件focus问题 #5393

Closed
zouyang2015 opened this issue Jan 28, 2020 · 3 comments
Closed

H5中Input组件focus问题 #5393

zouyang2015 opened this issue Jan 28, 2020 · 3 comments
Assignees

Comments

@zouyang2015
Copy link

zouyang2015 commented Jan 28, 2020

问题描述

当页面中有一个Input,一个Textarea时,在Input中设置focus, 这时把光标切换到Textarea上输入内容,光标会自己离开当Textarea组件前跳回Input组件上。
--- 问题只在H5端出现,微信小程序和RN没问题。

@taro-bot
Copy link

taro-bot bot commented Jan 28, 2020

CC @Littly

@taro-bot
Copy link

taro-bot bot commented Jan 28, 2020

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Littly
Copy link
Contributor

Littly commented Feb 7, 2020

由于Taro与小程序的底层实现差异,这个问题暂时无法修复,建议针对 h5 端使用 ref 特殊处理下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants