Open junyoua opened 3 weeks ago
Bug Type: Component
Component
3.2.37
2.8.3
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Vite
el-input
Docs
Input 输入框密码框使用 show-password 属性切换显示隐藏的密码框,光标会移到第一位
光标在最后一位
光标在第一位
(empty)
It seems to be a problem starting from version 2.8.0
2.8.0
As a result of this PR #17362
切换的时候先blur后聚焦就行了。我看源码上有相关的问题修改,加了个 await nextTick。不晓得为啥现在没有效果。
Bug Type:
Component
Environment
3.2.37
2.8.3
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Vite
Reproduction
Related Component
el-input
Reproduction Link
Docs
Steps to reproduce
Input 输入框密码框使用 show-password 属性切换显示隐藏的密码框,光标会移到第一位
What is Expected?
光标在最后一位
What is actually happening?
光标在第一位
Additional comments
(empty)