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(index.js): Use correct orientation when mouse enters #413

Merged
merged 3 commits into from
Sep 11, 2018

Conversation

an4ger
Copy link
Contributor

@an4ger an4ger commented Aug 20, 2018

getPosition has to be called before first setting the state (and thus rendering the tooltip) when
mouse enters, to take into account cases when the position is close to the client window edge

#388

an4ger added 2 commits August 20, 2018 15:53
getPosition has to be called before first setting the state (and thus rendering the tooltip) when
mouse enters, to take into account cases when the position is close to the client window edge

ReactTooltip#388
@aronhelser
Copy link
Collaborator

This seems reasonable to me, I just need to check it out. Do you notice any different behavior on the examples?

@an4ger
Copy link
Contributor Author

an4ger commented Aug 22, 2018

Didn't find any problem

@aronhelser
Copy link
Collaborator

Sorry @an4ger , I merged another PR that causes conflicts. Can you resolve them?

@aronhelser
Copy link
Collaborator

It checks out, thanks!

@aronhelser aronhelser merged commit be89b82 into ReactTooltip:master Sep 11, 2018
@aronhelser
Copy link
Collaborator

🎉 This PR is included in version 3.8.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants