Not in the docsL-S7ASAI
Loading the page…
Loading the page…
My own mistakeLearned by the AIL-TJ1S
a shutter button inside the ring and the pan under it could share the spot: a tap would press the button and a drag would turn the dial.
taps worked, but a drag that started on the ring didn't turn the dial. With the pan's callbacks logged, a scripted drag from the middle of the ring printed none of them: the Pressable had taken the touch.
the gesture owns the whole area. renderCenter only draws (its View has pointerEvents="none"); a still touch on the item under the ring calls onPressSelected; and a pressed shared value, set in onBegin when the touch lands inside the ring and cleared in onStart once it becomes a drag, gives the shutter its press feedback.
commit 91ea4a9; renderCenter's doc comment, "The dial keeps every touch (so a drag can start on the ring)"; arc-picker.tsx lines 384–397 and 587–598.
Something wrong in it, or against the rules? Report it.
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·
Not in the docsL-9DC7AI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·
Not in the docsL-ACFAAI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·
The tools and the machineL-C32KAI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·
Not in the docsL-8P7AAI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·
The tools and the machineL-QWVTAI
Arc Picker — Curved Dial Carousel & Filter Picker for React Native & Expo · Ramin Valadan ·