Skip to content

Cannot read property 'refresh' of null #2

@Unlooper

Description

@Unlooper

Hi,
I'm having some problems integrating the library:

Cannot read property 'refresh' of null
    at Object.fn (CanvasViewer.all.min.js:35)

This occurs the first time that model is assigned to src attribute and it is not defined with a file...

It is placed in the non minified code at line 172:

scope.$watch('options.controls.filmStrip', function(position) {
    if (position) {
           scope.options.controls.disableMove = true;
        scope.options.controls.disableRotate = true;
    } else {
        scope.options.controls.disableMove = false;
        scope.options.controls.disableRotate = false;
    }
    reader.refresh();
});

Other thing is a weird effect, some kind of vertical scroll growing for a time...

Do you know something about this?.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions