-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
const gesture = useCallback((defaultGestures, dispatchEvents) => {
const pan = defaultGestures[0];
pan.onStart(() => {}).onEnd(() => {});
const pinch = defaultGestures[1];
pinch.onStart(() => {}).onEnd(() => {});
return [pan, pinch];
}, []);
SvgChart
ref={node => {
chartRef.current = node;
}}
useRNGH
gesture={gesture}
/>
使用RNGH后,图表的点击事件监听不到,zoom特别卡跟有延迟似的。
只是传了一个空的gesture,这个gesture需要做什么处理吗?
demo看过了,也没看没做什么特殊处理
Metadata
Metadata
Assignees
Labels
No labels