iipmooviewer icon indicating copy to clipboard operation
iipmooviewer copied to clipboard

Document scrolling outside of IIPMooViewer is broken on iOS devices

Open paulmer opened this issue 10 years ago • 1 comments

Line 25 of touch.js adds a touchmove event handler to the body of the HTML document to disable scrolling. This isn't necessarily desirable if, for example, the viewer appears in a absolutely positioned element above a scrolling document, and is in contrast with the rest of IIPMooViewer which operates only on the content of its container element. Please consider offering this behavior as an option that can be enabled or disabled depending on the client needs, or simply documenting when this might be needed.

(A workaround is to remove that line and rebuild the minified javascript per the README.)

paulmer avatar May 13 '15 12:05 paulmer

Thx paulmer, i just ran into this problem!

jstahlmann avatar Mar 02 '17 11:03 jstahlmann