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

[Steps] <Semi的Steps组件在onChange为空时item不应该有hover状态,会让用户以为是可点击的,实际上并没有处理点击事件> #1554

Closed
1 task done
DaiQiangReal opened this issue Apr 18, 2023 · 3 comments

Comments

@DaiQiangReal
Copy link
Collaborator

DaiQiangReal commented Apr 18, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Steps

Semi Version

No response

Current Behavior

Semi的Steps组件在onChange为空时item不应该有hover状态,会让用户以为是可点击的,实际上并没有处理点击事件

img_v2_d55c7479-3708-408a-a4de-3828b6f6ddcg

antd的步骤条就很好地处理了这个问题,可以参考下:https://ant.design/components/steps-cn
img_v2_d379077f-f526-4eed-b1fb-c65580d7e40g

oncall 4530119

Expected Behavior

No response

Steps To Reproduce

No response

ReproducibleCode

No response

Environment

- OS:
- browser:

Anything else?

No response

@pointhalo
Copy link
Collaborator

v2.34 beta fix

@byxiaozhi
Copy link

这个问题目前看来还未完全解决。

  1. 默认步骤条(旧版)在没有 onChange 事件时,虽然没有按钮的hover样式,但是仍然有按钮的active样式。
  2. 默认步骤条(旧版)在有 onChange 事件时,按钮光标并没有变为手型。
  3. 简单步骤条(新版)在没有 onChange 事件时,光标仍旧是手型。

@DaiQiangReal
Copy link
Collaborator Author

这个问题目前看来还未完全解决。

  1. 默认步骤条(旧版)在没有 onChange 事件时,虽然没有按钮的hover样式,但是仍然有按钮的active样式。
  2. 默认步骤条(旧版)在有 onChange 事件时,按钮光标并没有变为手型。
  3. 简单步骤条(新版)在没有 onChange 事件时,光标仍旧是手型。

fixed on #1836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants