Skip to content

Clean up console errors #143

@bnmajor

Description

@bnmajor
  • We have some console errors Cannot read properties of null (reading 'layers') which probably occurs when switching images. We should probably just guard this so it doesn't happen.
  • Possible coupled with the previous, sometimes I see a Cannot read properties of null (reading 'removeEventListener') error when we do document.querySelector(".resize-handle").removeEventListener("mousedown", ...

Originally posted by @manthey in #131 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions