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

NPopover with a specified zindex produce a warning #2050

Closed
joo1es opened this issue Dec 27, 2021 · 0 comments
Closed

NPopover with a specified zindex produce a warning #2050

joo1es opened this issue Dec 27, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@joo1es
Copy link

joo1es commented Dec 27, 2021

TuSimple/naive-ui version (版本)

2.23.1

Vue version (Vue 版本)

3.2.26

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

Chrome

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

Win11

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/vibrant-dust-ppkou?file=/src/Demo.vue

Reappearance steps (重现步骤)

click "hover" button & then click "click" button, click any place to hide popover.
there will be a console error:
[vdirs/vdirs/z-index-manager/unregister-element]: Element not found when unregistering.
it looks like a vdirs's error
https://github.com/07akioni/vdirs/blob/main/src/zindexable/z-index-manager.ts

Expected results (期望的结果)

nothing appear in console

Actual results (实际的结果)

there will be a console error:
[vdirs/vdirs/z-index-manager/unregister-element]: Element not found when unregistering.

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Dec 27, 2021
@joo1es joo1es changed the title NModal with a specified zindex produce a warning NPopover with a specified zindex produce a warning Dec 27, 2021
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Dec 27, 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

No branches or pull requests

2 participants