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

Allow to position tooltip on bottom (when horizontal) and right (when vertical) #23

Closed
juanesarango opened this issue Aug 27, 2021 · 2 comments

Comments

@juanesarango
Copy link

It would be great to have an easy option to change the direction of the tooltip.
For example:

  • tooltip-direction="top" (default)
    Screen Shot 2021-08-27 at 5 20 54 PM
  • tooltip-direction="bottom"
    Screen Shot 2021-08-27 at 5 25 38 PM

Happy to do a PR, if you agree. Thanks for this awesome component!

@adamberecz
Copy link
Collaborator

Added tooltipPosition prop in 2.0.5. Make sure to update the CSS / Tailwind class list as they got extended.

@juanesarango
Copy link
Author

Awesome 🙌🏼
Thanks @adamberecz is looking great

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

No branches or pull requests

2 participants