Initialize PDF Viewer in Continuous ViewMode

Posted by: ianm on 26 October 2017, 12:32 pm EST

    • Post Options:
    • Link

    Posted 26 October 2017, 12:32 pm EST

    Currently if you initialize the component in Continuous mode it throws

    
    ERROR TypeError: Cannot read property 'length' of undefined
        at t.f._updateCurrentPageAngles (wijmo.viewer.js:13)
        at t.f._mergeHistory (wijmo.viewer.js:13)
        at t.f._addHistory (wijmo.viewer.js:13)
        at t.set [as viewMode] (wijmo.viewer.js:13)
        at updateProp (core.es5.js:11122)
    
    

    with angular 2 you must use a lifecycle hook and apply it after the view initializes.

  • Posted 26 October 2017, 8:12 pm EST

    Hi Ian,

    Thank you for reporting the issue. We are able to replicate the issue at our end and it seems an issue. Hence, this case has been forwarded to the concerned team for further investigation with tracking id 294064.

    We will let you know as soon as we get any update on this.

    ~Manish

  • Posted 7 November 2017, 7:35 pm EST

    Hi Ian,

    This issue has been found fixed in the 5.20173.375 build.

    This fix will be included in the next release expected in a week or two.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels