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

Incorrect positioning on SVG element (mobile) #45

Open
ChrisLindeman opened this issue Mar 15, 2020 · 1 comment
Open

Incorrect positioning on SVG element (mobile) #45

ChrisLindeman opened this issue Mar 15, 2020 · 1 comment
Assignees
Labels

Comments

@ChrisLindeman
Copy link

I'm calling protipShow() on an SVG element. It works fine on desktop. But on mobile (iOS), the "top" portion of its style returns a negative value, positioning it off the screen. If I instead target a non-SVG element, the positioning works fine on mobile.

@wintercounter
Copy link
Owner

As a workaround please wrap your SVG with an HTML element and use Protip on that.

@wintercounter wintercounter self-assigned this Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants