react-perimeter icon indicating copy to clipboard operation
react-perimeter copied to clipboard

🚧 Create an invisible perimeter around an element and respond when its breached.

Results 8 react-perimeter issues
Sort by recently updated
recently updated
newest added

Just watched the React Europe talk. Sounds like a cool component. But I was thinking what you really want to know is will the mouse enter the component not is...

Hi, First of all, thanks for the lib. It's simple but smart! However, one of my concerns is that when the content is moving, it actually breaks the perimeter since...

onBreach doesn't fire unless I resize the window. Using it like this; ``` console.log('should write to console')} padding={24} once={true}> Link ```

What do you think about adding focus event listener for non-mouse users? I'm undecided myself if this is a good idea but I was thinking of ways to make this...

Currently, the perimeter is just a square extending outwards from the element in all directions. It would be *awesome* if we could provide an API that lets you determine any...

enhancement
help wanted

Hi, It will be great to have a live demo site so that people can see it in action. Maybe we can create a GitHub page for it.

It's probably hard to test the actual core feature of `react-perimeter` , but there are a few things we can definitely test: * correctly exports the React component * renders...

help wanted
good first bug

We already track the vertical offset (`pageYOffset`) so the perimeter is calculated correctly on scroll (and if the component mounts on a page that is already scrolled). Horizontal scroll is...

enhancement
help wanted
good first bug