codevise / pageflow-linkmap-page

Hotspot page type
0 stars 7 forks source link

Prevent slideshow container from scrolling out of view #73

Closed tf closed 3 years ago

tf commented 3 years ago

When using the guided hotspot navigation mode, clicking a hotspot that triggers a page change using a scroll transition causes the slideshow container (div.entry.slideshow) to change its scroll position (scrollLeft/scrollTop). In some cases, once the animation finishes the current page remains partly outside the viewport. Reproducible in Chrome 89 and Firefox 88.

Clicking the page background (which also activates the current hotspot in pan/zoom mode) does not cause this behavior. As a workaround, we therefore keep area pointer events disabled in pan/zoom mode and rely only on activating hotspots via clicking the background.

The actual root cause remains unknown.

REDMINE-18737