Skip to content

this.jsmeApplet === undefined error #6

@svaraborut

Description

@svaraborut

When the component is loaded with a smile variable that is asynchronously set:

<Jsme height='800px' width='100%' smiles={smile_draft} ></Jsme>

A race condition between componentDidUpdate and handleJsmeLoad occurs:

image

Usually Jsme is loaded after update. The if check does not work as this.jsmeApplet === undefined and not this.jsmeApplet === null

Fixed in my pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions