Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only works if I resize the window. #16

Open
mhaagens opened this issue Apr 6, 2017 · 1 comment
Open

Only works if I resize the window. #16

mhaagens opened this issue Apr 6, 2017 · 1 comment

Comments

@mhaagens
Copy link

mhaagens commented Apr 6, 2017

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>
@aweary
Copy link
Owner

aweary commented Apr 22, 2017

Can you provide an example reproducing your issue? Unfortunately, isn't enough information here for me to provide any meaningful help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants