【发布时间】:2022-11-22 07:55:44
【问题描述】:
我使用本机反应。在 iOS 上,该函数运行良好并返回值。在 android 上,它为所有参数返回 undefined。
activeCategoryRef.current?.measure((fx, fy, width, height, px) => {
console.log(width)
console.log(px);
scrollTo(px - width);
});
【问题讨论】:
标签: android ios react-native