TourGuide icon indicating copy to clipboard operation
TourGuide copied to clipboard

The spotlight is lost if user scrolls the page

Open alvaromontoro opened this issue 7 years ago • 2 comments

SpotlighJS was designed for an unchangeable/unscrollable viewport. If the plugin is used on a regular web page and the user scrolls, the spotlight is lost. It would be nice if the spotlight never disappears from the current viewport.

alvaromontoro avatar Aug 19 '18 03:08 alvaromontoro

Hi @alvaromontoro. Can I take this too? What do you think if on user start the Spotlight, the scrolling turn off, and if he exit of Spotlight, the scrolling come back?

dulcetti avatar Oct 05 '18 00:10 dulcetti

@dulcetti Of course. I was thinking about doing something like adding overflow:hidden to the html/body and readjusting the scroll so the user didn't notice a jump when the animation started or ended... but it may be overcomplicating things. Any suggestion is welcome.

alvaromontoro avatar Oct 05 '18 01:10 alvaromontoro