Skip to content

[BUG] <Button> prevent mouse events of <i> <span> inside #4264

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

Closed
1 task done
gaokun opened this issue Jun 25, 2021 · 3 comments
Closed
1 task done

[BUG] <Button> prevent mouse events of <i> <span> inside #4264

gaokun opened this issue Jun 25, 2021 · 3 comments

Comments

@gaokun
Copy link
Contributor

gaokun commented Jun 25, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.x & 1.x

Environment

MacOS 10.13.4, Chrome 91.0.4472.114, Vue 2.6.10

What is expected?

remove: pointer-events: none;

What is actually happening?

pointer-events: none will prevent mouse events of i & span in Button


Antdv was copied from Ant Design (React), so the issue was copied too.

And then Ant Design reverted that PR 2 years later, but Antdv didn't.

Here is why we have pointer-events: none:
ant-design/ant-design#7034

And here is why it had been removed:
ant-design/ant-design#24090

@gaokun
Copy link
Contributor Author

gaokun commented Jun 25, 2021

@tangjinzhou
Plz help to check
Thx

@John60676
Copy link
Member

Will be supported in the next version

@github-actions
Copy link

github-actions bot commented Jul 2, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants