I have a horizontal menu on my website. I want to show an app guide for one of the menu items. But, it is not visible on the screen. You need to scroll horizontally to see that element on the page. When I go to that step, it breaks the UI and the tooltip shows up outside the viewport causing the overflow on the web page.
To Reproduce
Steps to reproduce the behavior:
Step target should be the element that is not initially visible on the scren.
Start the tour.
Go to that particular step.
It highlights the element, but it breaks the UI and also shows a horizontal scroll on the whole web page.
Expected behavior
It should first scroll the element into the view and then highlight the element.
🐛 Bug Report
I have a horizontal menu on my website. I want to show an app guide for one of the menu items. But, it is not visible on the screen. You need to scroll horizontally to see that element on the page. When I go to that step, it breaks the UI and the tooltip shows up outside the viewport causing the overflow on the web page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should first scroll the element into the view and then highlight the element.
Link to Codesandbox
https://codesandbox.io/p/sandbox/icy-sun-5dv6s4