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

建议禁止button的点击事件冒泡 #699

Closed
IFnGSiYu opened this issue Jun 4, 2021 · 1 comment
Closed

建议禁止button的点击事件冒泡 #699

IFnGSiYu opened this issue Jun 4, 2021 · 1 comment

Comments

@IFnGSiYu
Copy link

IFnGSiYu commented Jun 4, 2021

建议禁止button的点击事件冒泡,不然开启了树形table的行点击展开子行expandRowByClick时,点击了操作按钮也会展开,体验不好

@mynetfan
Copy link
Collaborator

mynetfan commented Jun 4, 2021

这个应当在button的onClick中阻止冒泡。否则遇到希望点击button时也展开的需求就难以处理了。

@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants