New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V10 available for testing! #300
Comments
I seem to have to |
@mysterybear I'm not sure how to solve this at the moment: |
When running type check with the latest version I'm getting the following error
|
Hi @smashercosmo are you able to set up a minimal repro sandbox? Thanks! |
If it's not something obvious I can definitely do that |
@dbismut no need to set up sandbox, you can reproduce it by running |
One of the errors will be
|
@smashercosmo thanks! should now be fixed :) |
Works now. Thx. |
I'm seeing this error for the
This code works with v9 (had to rename useGesture({
onWheel: () => {...},
/* useGesture config */
{
target: imageRef,
drag: {
filterTaps: true,
},
eventOptions: {
passive: false,
},
}
}) The error is thrown from this code in |
@tim-soft can you specify the browser and version of use- gesture you're using? |
|
@tim-soft should be fixed in |
With useGesture + transform
I'm getting warning
It works in 9.1.3. Maybe API has changed? https://codesandbox.io/s/draggable-list-forked-phydt?file=/src/index.js:1049-1142 |
@mordv nope, genuine bug, good catch. I'll fix this in the afternoon. Thanks! |
@mordv should be fixed :) |
@dbismut mousewheel/trackpad are no longer firing the |
@dbismut in your own example, if I change in v9 this used to work, but I'm also not sure if that was intentional or not, if so then thats a breaking change |
Hm on my MacBook Pro's trackpad it does work as expected... |
I'm on windows if that helps |
@tim-soft not really... Pinch should work when ctrl key is pressed. |
@dbismut I'll dig in later this week when I have some more time, thanks for checking |
@dbismut I'm getting the following using
Here's my code for context: Tried to figure it out reading through the code, but wasn't getting anywhere. |
@seflless |
Here's the stuff I cropped out. Should I be getting the warning twice? I'm getting a new weirdness now, reading through links above to see if the event parameters and behaviors have changed. I upgraded because of needing a fix for where pinch gestures started with fingers on different elements wasn't working. |
@seflless you should use |
Oh definitely. I did and that made that issue go away. I think I have it figured out now. Thanks for quick response! |
@dbismut I built a slightly better sandbox, https://codesandbox.io/s/funny-proskuriakova-6lj6l?file=/src/index.js I'm not sure if this is intentional or not, I think I originally built out this code with |
@tim-soft would there be a way to connect on pmndrs Discord? There was an issue on Surface Pro hardware that I managed to solve, but maybe this is not sufficient. |
@tim-soft any chance we could chat? |
I'm still having following issues which I'm not facing in the desktop browsers: using: @use-gesture/react: ^10.0.0-beta.21 this is the only part where I use the library's api:
|
Really hard for me to debug this as I can't reproduce the issue. What would help is someone pinging me on pmndrs Discord so we can solve the issue together. @kutoman what's your hardware? Is there a way you could show me a sandbox? |
there is one fortunate thing concerning the mentioned issues. I've recently noticed that both cases are actually reproducable in my desktop's chrome browser (with device mode enabled). So the mobile platforms might not be needed for reproduction. @dbismut I'll contact you |
Hi! I've upgraded to v10 but I'm having problems with dragging. I switched from https://codesandbox.io/s/initial-rocket-forked-sbbo2 Thank you! |
@delaudio try using |
Can't drag "drag me" card on https://v10-beta--use-gesture.netlify.app/ :) |
@mordv that was painful to track down, thanks for the report! Looks like it's actually a problem with react-spring, and conflicts between @react-spring/three and @react-spring/web |
Buggy example with three-fiber https://v10-beta--use-gesture.netlify.app/docs/options/#transform |
@mordv good catch again, was indeed a bug :) Should be fixe now in |
Closing as |
Read here: #292
The text was updated successfully, but these errors were encountered: