Internet Explorer IndexSizeError on Drawer.blendSketch context.drawImage
See original GitHub issueDemo: http://plnkr.co/edit/ormkIn
It works fine on Chrome, but IE throws an error and the image freezes (cannot pan or zoom). There are multiple Google results for “ie drawImage IndexSizeError” but I could not get it to work.
IE spec says:
IndexSizeError The numeric arguments are not valid (for example, the destination is a 0x0 rectangle). Versions earlier than Internet Explorer 10 use INDEX_SIZE_ERR.
https://msdn.microsoft.com/en-us/library/ff975414(v=vs.85).aspx
EDIT:
homeFillsViewer: true
makes IE throw the error consistently.
homeFillsViewer: false
still throws the error, but if you pan or zoom when the image first shows up, sometimes it does not throw the error and everything works afterwards.
https://github.com/openseadragon/openseadragon/blob/v2.2.1/src/drawer.js#L426
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (14 by maintainers)
Top GitHub Comments
Excellent! I will leave this issue open until the fix is merged.
Fixed by #1035