Closed dkrupenya closed 7 months ago
Hey @dkrupenya , thanks for the feedback! I think this is not an issue with tldraw, we are using the lib use-gesture
I think the bug is coming from it, maybe they don't support react 16 anymore
Closing this as we won't be addressing a fix for this version. Check https://github.com/tldraw/tldraw for the latest! And please share there if the bug persists.
Here is a codesandbox of tldraw/examples/core-example with React 16.14: https://codesandbox.io/s/confident-ives-b41u4s
Problem: The box is not movable. onPointerMove, onPointerDown events just don't fire.
Absolutely the same code but with React 17.0.2 - everything works fine:
https://codesandbox.io/s/magical-chaplygin-gxu4nr
I'm very curious. Any ideas what could be responsible for such behavior?