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

Tooltip doesn't work with svg elements as children #41153

Closed
josedefreitas91 opened this issue Mar 10, 2023 · 2 comments
Closed

Tooltip doesn't work with svg elements as children #41153

josedefreitas91 opened this issue Mar 10, 2023 · 2 comments
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@josedefreitas91
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Using an svg element as children

What is expected?

show the popup when hovering over an svg

What is actually happening?

the styles in the tooltip use the wrong left and top position (-1000vh)

Environment Info
antd 5.3.0
React react 18.2.0
System macos 12.6.3
Browser Google Chrome 110.0.5481.177 (x86_64)
@li-jia-nan li-jia-nan added 🐛 Bug Ant Design Team had proved that this is a bug. and removed unconfirmed labels Mar 10, 2023
@notverysalty
Copy link
Contributor

let me try~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants