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

[TDButton] 只设置了style之后会导致没有点击效果了 #81

Closed
Luozf12345 opened this issue Mar 28, 2024 · 2 comments
Closed

Comments

@Luozf12345
Copy link
Collaborator

这个功能解决了什么问题

style设置了,其他两个也必须设置了,要不然三个状态一致,视觉上无法区分了。因为可能只是变更下圆角,也要全部设置了
wecom-temp-437568-689ca9c99b6948f77017e94b913c1a73

你建议的方案是什么

因为设置了style,点击状态肯定不能用默认的style了,可能描边、颜色啥的都差别很大。最简单的修改是加个提示,要三个一起设置才能生效。另一种修改,是点击状态基于你传递的style改一下色值,不过这种方案不知道会不会引起其他问题,需要评估一下

Copy link
Contributor

👋 @Luozf12345,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Luozf12345
Copy link
Collaborator Author

评估之后,无需修改,0.1.4版本再style注释已说明

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

1 participant