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 wrong position of tooltip when overflow screen width #114

Merged
merged 2 commits into from
Feb 16, 2021

Conversation

serzmerz
Copy link
Contributor

@serzmerz serzmerz commented Feb 11, 2021

This PR fix issues:
Fixes #78
Fixes #82

The problem that when the tooltip overflow screen width, it takes the center of the screen, but should right side.

Before:
Simulator Screen Shot - iPhone 11 - 2021-02-11 at 16 29 07

After:
Simulator Screen Shot - iPhone 11 - 2021-02-11 at 16 28 27

@serzmerz
Copy link
Contributor Author

serzmerz commented Feb 12, 2021

@jasongaare Please make a review of these changes

@jasongaare
Copy link
Owner

awesome! this looks great. let me test locally then we can merge!

@jasongaare jasongaare merged commit e91f277 into jasongaare:master Feb 16, 2021
@jasongaare
Copy link
Owner

Awesome! Published in version 1.2.0

@jasongaare jasongaare mentioned this pull request Mar 16, 2021
@joluet
Copy link

joluet commented Apr 28, 2021

This actually breaks the centering of tooltips when the content overflows screen width. Such tooltips are always right aligned now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants