Toolip Hover and Viewport

I’ve been following this guide on how to create a tooltip (https://webflow.com/blog/how-to-build-tooltips). I was wondering if there was any native way in webflow to have it detect viewports so that a hover action will stay within the viewport. If not, I assume I can write some custom jquery and achieve this?

A customer had a similar question within a project so we wrote a script that allows you to easily add tooltips to a Webflow site.

Here is a link to the tutorial video that walks you through the question, and then the solution from start to finish.

If you have any questions please feel free to tag me!

Happy Monday!