Skip to content

Maybe add eventlistener for window resize #10

@johnny-human

Description

@johnny-human

When using the FocusPicker with relative sizes and the FocusPicker image is changing size while resizing the window, I would like for the RetinaPosition to update. I added a listener like this:

window.addEventListener('resize', this.debounce(this.updateRetinaPositionFromFocus));

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