Skip to content

Commit 966fcb8

Browse files
committed
cursor dissapears when grabbing the box in pinch example
1 parent 71747ab commit 966fcb8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/docs-gesture-handler/static/examples/PinchGestureBasic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export default function App() {
9393

9494
const boxAnimatedStyles = useAnimatedStyle(() => ({
9595
width: boxWidth.value,
96+
cursor: touchOpacity.value > 0 ? 'none' : 'grab',
9697
}));
9798

9899
return (

packages/docs-gesture-handler/versioned_docs/version-2.x/examples/PinchGestureBasic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export default function App() {
9292

9393
const boxAnimatedStyles = useAnimatedStyle(() => ({
9494
width: boxWidth.value,
95+
cursor: touchOpacity.value > 0 ? 'none' : 'grab',
9596
}));
9697

9798
return (

0 commit comments

Comments
 (0)