aweary / aweary/react-perimeter

Only works if I resize the window.

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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

```
console.log('should write to console')}
padding={24}
once={true}>
Link

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Perimeter component and its onBreach handling, then reproduce the issue with the provided Link example using padding={24} and once={true}. Trace why the callback only runs after a window resize. Done means onBreach logs as expected without resizing, while the existing usage continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.