Only works if I resize the window.
mhaagens opened this issue · comments
Martin commented
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>
Brandon Dail commented
Can you provide an example reproducing your issue? Unfortunately, isn't enough information here for me to provide any meaningful help.