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

🐛 [Bug]: Button组件variant为outline,color为primary、disabled情况下,不应该有hover效果 #575

Closed
kagol opened this issue Apr 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kagol
Copy link
Member

kagol commented Apr 26, 2022

Version

latest

Vue Version

latest

Link to minimal reproduction

https://vue-devui.github.io/components/button/

按照以下方式使用button组件:

<template>
  <d-button variant="outline" color="primary" disabled>确定</d-button>
</template>

disabled禁用态,hover上去边框色和文字色不应该发生变化

image

Step to reproduce

按照以下方式使用button组件:

<template>
  <d-button variant="outline" color="primary" disabled>确定</d-button>
</template>

disabled禁用态,hover上去边框色和文字色不应该发生变化

What is expected

disabled禁用态,hover上去边框色和文字色不应该发生变化

What is actually happening

实际上hover上去按钮边框色和文字色会发生变化

Any additional comments (optional)

只有这一种情况下有问题,其他情况下的disabled禁用态都是正常的

@kagol
Copy link
Member Author

kagol commented Apr 26, 2022

Fixed by @zcj996 on #579

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

1 participant