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

On children show:false, NMenu still shows children on parent hover #3703

Closed
justinaskav opened this issue Sep 9, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@justinaskav
Copy link

TuSimple/naive-ui version (版本)

2.33.2

Vue version (Vue 版本)

3.2.39

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

Chrome (105.0.5195.52), Safari (15.6.1)

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

MacOS(12.5.1)

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/sh0k3m

Reappearance steps (重现步骤)

The last menu item (Dance dance dance) has children that have attribute show: false.
No other changes were added.

To reproduce:

  1. Hover on the last menu element and examine. (5 interactable children can be seen)
  2. Uncollapse the menu, click on the last menu item and examine. (3 interactable children can be seen)

Expected results (期望的结果)

Children, that have property show: false, are not shown in any case.

Actual results (实际的结果)

Children items, that have show: false, are shown on parent hover, when the menu is collapsed.

Remarks (补充说明)

Unrelated, but very good job with the Naive UI project, appreciate the work.

@github-actions github-actions bot added the untriaged need to sort label Sep 9, 2022
@Sepush Sepush added bug Something isn't working and removed untriaged need to sort labels Sep 9, 2022
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