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

setEditCell激活编辑状态后,使用原生focus无法聚焦输入栏 #2616

Open
1 task done
1024kevin opened this issue Oct 30, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@1024kevin
Copy link

可复现的链接(包含复现链接与示例代码):

const $table = jlgGridRef.value?.xGrid if ($table) { $table.setEditCell(scope.row, 'contractPrice').then(() => { nextTick(() => { console.log(contractPriceRef.value?._ref.focus) contractPriceRef.value?._ref.focus() }) }) }

问题描述与截图:

setEditCell激活编辑状态后,使用原生focus无法聚焦输入栏

期望的结果:

No response

操作系统:

window 10

浏览器版本:

chrome 130.0.6723.70

vue 版本:

3.4.21

vxe-pc-ui 版本:

4.0.2

vxe-table 版本:

4.6.17

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本并已按要求提供复现链接与示例代码。
@1024kevin 1024kevin added the bug Something isn't working label Oct 30, 2024
@xlz26296
Copy link
Contributor

xlz26296 commented Oct 31, 2024

检查一下参数,文档都有说明的

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