Skip to content

Console Error on demo site #5

Description

@lym8356

On the demo site, if I uncheck the show thumbnails option, it will immediately trigger a console error:
Cannot read properties of null (reading 'handleResizeHeight'

Then you cannot navigate left and right or select any picture to view, even though you check the box again.

I am using this library in my project differently, this component will only shows when user clicks on the image (rendered by other library)
The same error appears whenever I dismiss the overlay (see the example below):

image

The effect looks like this:
image

This is the error from the demo site:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions