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

Dialog component does not give focus to action button #1559

Closed
cefiro opened this issue Nov 10, 2021 · 4 comments · Fixed by #1586
Closed

Dialog component does not give focus to action button #1559

cefiro opened this issue Nov 10, 2021 · 4 comments · Fixed by #1586
Labels
bug Something isn't working

Comments

@cefiro
Copy link

cefiro commented Nov 10, 2021

TuSimple/naive-ui version (版本)

2.20.2

Vue version (Vue 版本)

3.2.21

Browser and its version (浏览器及其版本)

Latest Chrome

System and its version (系统及其版本)

ArchLinux

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/578sx

Reappearance steps (重现步骤)

Opening a dialog and pressing the "Enter" key

Expected results (期望的结果)

Closing dialogue pending

Actual results (实际的结果)

New dialogues open

Remarks (补充说明)

Watch in the video: https://webm.red/view/2CCD.webm

@github-actions github-actions bot added the untriaged need to sort label Nov 10, 2021
@07akioni
Copy link
Collaborator

We will try to fix it

@Talljack
Copy link
Contributor

@LYErin press Space key you need consider too.

@flyingTodream
Copy link

maybe you can try it without 'positive-text' and 'positive-text' props. @07akioni

@07akioni
Copy link
Collaborator

maybe you can try it without 'positive-text' and 'positive-text' props. @07akioni

See the new issue, I'll fix it soon.

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

Successfully merging a pull request may close this issue.

4 participants