GestureComponent bug on visionOS

let component = GestureComponent(DragGesture())

iOS: ☑️

visionOS: ❌

This bug from beta to public, please fix it.

Hello @Tinn_Vision

Could you please provide more information on the bug you are seeing and what you are trying to accomplish? In the meantime, please send any bug reports to us using Feedback Assistant.

Thank you!

Hi @Tinn_Vision

Can you try setting the minimumDistance of your DragGesture to a small value, as suggested here:

let component = GestureComponent(DragGesture(minimumDistance: 0.001))

As mentioned in that thread, DragGesture is defaulting to a minimumDistance of 10 meters in this use case which makes it difficult to trigger.

Please consider filing feedback requesting better default values for DragGesture when used with GestureComponent: https://feedbackassistant.apple.com

Thanks!

GestureComponent bug on visionOS
 
 
Q