You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 intended wrapped element to not have the position properties not added to its props.
The text was updated successfully, but these errors were encountered:
@davidhatten are you aware of any way to avoid this issue, until this library gets updated? Or do I need to (a) hold off on updating react or (b) find an alternative to react-cursor-position?
@carpiediem I yanked it out of my project for the time being and manually implemented the functionality I needed. Not sure what you're doing, but I grabbed the x and y position from the event and then had to do some SVG handling.
One of the minor versions of React 16 (I think, 16.2?) changed the
typeof
response fromfunction
toobject
. This causes the methodgetIsReactComponent(reactElement)
to returnfalse
, thereby causing the intended wrapped element to not have the position properties not added to itsprops
.The text was updated successfully, but these errors were encountered: