Closed sejoalfaro closed 3 weeks ago
Tested this as well, and it seems to be working as expected 👍
Tested this as well, and it seems to be working as expected 👍
Thank you... I hope it can be merged!
looks great!
Hey guys, great PR, have merged it! 🎉
Add more side options to prevent screen overflow #9
These changes allow developers to have more control over the location of the tooltip card. It's so useful to avoid the screen edges.
How does it work?
That so simple, developers can add new side options for each step choosing the position to render the tooltip card. e.g:
What are the new side options?
right-bottom
right-top
bottom-right
bottom-left
left-top
left-bottom
top-left
top-right
e.g:![ezgif-7-f791cd04bd](https://github.com/uixmat/onborda/assets/24913036/05ea12e9-6841-494a-807d-4332b5bf76df)
Conclusions
I hope it can be useful for someone who has problems with screen edges. This is my approach to fix it as soon as possible. In my opinion, it's easy to use, no learning curve, and looks fantastic. Maybe in the future it can be automatic.
Made with ❤️ by @sejoalfaro