-
Notifications
You must be signed in to change notification settings - Fork 328
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
[Dialog&Input] Dialog中引入Input组件,从Input中间输入光标会跳转到最后 #2484
Labels
to be published
fixed, not be published
Comments
👋 @cjSound,感谢给 TDesign 提出了 issue。 |
HaixingOoO
added a commit
to HaixingOoO/tdesign-react
that referenced
this issue
Sep 1, 2023
16 tasks
uyarn
pushed a commit
that referenced
this issue
Nov 2, 2023
fixed in 1.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-react 版本
1.2.4
重现链接
https://stackblitz.com/edit/react-v8nwsw?file=src%2Fdemo.jsx,src%2Findex.css
重现步骤
复现步骤
Input单独使用是正常的,当Input位于Dialog内,会出现光标异常
1、定义一个普通的Dialog组件
2、组件内引入Input组件,设置value和OnChange
3、打开Dialog弹窗
4、从Input中间输入值
5、输入任意值光标跳转到Input最后
示例代码
期望结果
光标不要乱跳,保持当前位置
实际结果
光标跳转到最后,影响输入和体验
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: