react-cursor-position icon indicating copy to clipboard operation
react-cursor-position copied to clipboard

A React component that decorates its children with mouse and touch coordinates relative to itself.

Results 21 react-cursor-position issues
Sort by recently updated
recently updated
newest added

When using "react-cursor-position": "^3.0.3", the following is the error received only on the server but not in the localhost. react-dom.production.min.js:209 TypeError: Cannot convert undefined or null to object at Function.keys...

Thank you for creating this library, @ethanselzer! It seems like you don't have the bandwidth to maintain the library at this point. Can you add someone else as a maintainer?...

This is to fix the following warning and to be compatible with concurrent mode: > Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details....

No issue, but I'm just wondering how to log when a user clicks the mouse pad at the current cursor position. So for instance, a person moves the cursor then...

Don't really understand the issue, but this fixes #35 by: 1. providing an empty object to Object.keys as a default 2. only emitting the event when there's actually something to...

Hi, ```ts const Memo = React.memo(props => { console.log(props); if (!props.position) throw new Error("No position"); return Yolo; }); function App() { return ( ); } ``` The Memo component in...

One of the minor versions of React 16 (I think, 16.2?) changed the `typeof` response from `function` to `object`. This causes the method `getIsReactComponent(reactElement)` to return `false`, thereby causing the...

Everything in the state should be accurate, regardless of whether it's active. It's useful to have the shape of the object sent to the `onPositionChanged` callback be the same regardless...