ruven / iipmooviewer

IIPMooViewer is an advanced javascript HTML5 image viewer for streaming high resolution scientific images
https://iipimage.sourceforge.io
123 stars 49 forks source link

Document scrolling outside of IIPMooViewer is broken on iOS devices #58

Open paulmer opened 9 years ago

paulmer commented 9 years ago

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.)

jstahlmann commented 7 years ago

Thx paulmer, i just ran into this problem!