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

Fix alignment of popup menu for svg #15878

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

Kisters-BS
Copy link
Contributor

@Kisters-BS Kisters-BS commented Jun 21, 2024

Fixes #15877

SVG elements do not have an offsetWidth or offsetHeight property. So we have to use the getBoundingClientRect() method to get the width and height of the element

Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 1:47pm

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

Successfully merging this pull request may close these issues.

Menu: Alignment does not work for SVG path
2 participants