LinkedInAttic / hopscotch

A framework to make it easy for developers to add product tours to their pages.
Apache License 2.0
4.19k stars 661 forks source link

Collision detection/avoidance. #350

Open hifall opened 7 years ago

hifall commented 7 years ago

When a target element is closed to the border of a page, the popover could be partially hidden.

See the screenshot:

screen shot 2017-11-06 at 9 28 44 pm

Maybe in such a scenario, we should adjust the position of the popover, so that it's fully visible.

sqlsolver commented 6 years ago

You could customize your CSS to provide z-index values to your border and the popover, so that the popover is always in front.