iipmooviewer
iipmooviewer copied to clipboard
Document scrolling outside of IIPMooViewer is broken on iOS devices
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.)
Thx paulmer, i just ran into this problem!