Skip to content

Only works if I resize the window. #16

@mhaagens

Description

@mhaagens

onBreach doesn't fire unless I resize the window.
Using it like this;

<Perimeter
onBreach={() => console.log('should write to console')}
padding={24}
once={true}>
  <Link to="/link">Link</Link>
</Perimeter>

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