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

NTimePicker with action=confirm: blur event does not fire if you click the ok button then focus another field #1499

Closed
rhengles opened this issue Nov 1, 2021 · 0 comments · Fixed by #1505
Labels
bug Something isn't working

Comments

@rhengles
Copy link
Contributor

rhengles commented Nov 1, 2021

TuSimple/naive-ui version (版本)

2.19.11

Vue version (Vue 版本)

3.2.20

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

Edge/95.0.1020.40

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

Windows 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/sad-euclid-8jiey?file=/src/App.vue

Reappearance steps (重现步骤)

Focus the time picker, select a time on the popup panel, click the "ok" button, then focus another field.

Expected results (期望的结果)

The "blur" event is not fired on the time picker.

Actual results (实际的结果)

Only the "focus" event is fired. When you enter another field, the "focus" event is fired without the "blur" event on the time picker.

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Nov 1, 2021
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Nov 1, 2021
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.

2 participants