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

if child menu is selected, parent hover text color is wrong #2929

Closed
wc-matteo opened this issue May 13, 2022 · 1 comment
Closed

if child menu is selected, parent hover text color is wrong #2929

wc-matteo opened this issue May 13, 2022 · 1 comment
Labels
feature request New feature or request

Comments

@wc-matteo
Copy link

wc-matteo commented May 13, 2022

TuSimple/naive-ui version (版本)

2.28.4

Vue version (Vue 版本)

3.2.33

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

Version 101.0.4951.67

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

win 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/recursing-cray-yqxlyp?file=/src/Demo.vue

Reappearance steps (重现步骤)

1 select narrator menu item (under dance dance dance)
2 try to hover over dance dance dance menu item

Expected results (期望的结果)

the text color has the same color as other menu items when hovering

Actual results (实际的结果)

the text color has the wrong color (it's the active color)

image

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label May 13, 2022
@07akioni 07akioni removed the untriaged need to sort label May 14, 2022
@07akioni
Copy link
Collaborator

I can't say this is a bug since color of child active is not provided. So hover color will always take control.

We may add some variables to support it.

@07akioni 07akioni added the feature request New feature or request label May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants