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

键盘导航 + 重写编辑行为对 ElInput type=textarea 无效 #2730

Open
2 tasks done
JadePureOne opened this issue Jan 7, 2025 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@JadePureOne
Copy link

可复现的链接(必须为公开链接,仅包含能复现问题的示例代码):

https://codesandbox.io/p/devbox/4lgr7n?file=%2Fsrc%2FApp.vue%3A41%2C15-41%2C22

是否已准备好复现链接与示例代码?

  • 我确定已准备好以上复现链接

问题描述与截图:

输入值可以进入编辑行为,但光标没有焦点,输入不了内容
1736237801096

期望的结果:

No response

操作系统:

win10

浏览器版本:

chrome 125.0.6422.176

vue 版本:

3.3.4

vxe-pc-ui 版本:

4.10.2

vxe-table 版本:

4.10.2

是否使用当前最新版本?

  • 我确定已经更新到最新版本后依然存在该问题
@JadePureOne JadePureOne added the bug Something isn't working label Jan 7, 2025
@xlz26296
Copy link
Contributor

xlz26296 commented Jan 7, 2025

你要想编辑自动聚焦,指定 autoFocus 聚焦元素就可以了

@JadePureOne
Copy link
Author

你要想编辑自动聚焦,指定 autoFocus 聚焦元素就可以了
可以看看我的链接,有指定autofocus: '.el-input__inner'。
input可以编辑的,加了type后就不行了

@xlz26296
Copy link
Contributor

xlz26296 commented Jan 8, 2025

image
image

你这个指定的元素都对不上,肯定是无法聚焦的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants