You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
无法滑动图片,滑动事件老是触发点击事件。
目前的我只能把代码改成这样,
<Modal
visible={modalVisible}
transparent={true}
onRequestClose={() => setModalVisible(false)}>
<ImageViewer
imageUrls={listData}
onSave={(url) => {
console.log('onSave=>', url);
}}
onClick={(onCancel) => {
console.log('onClick=>', onCancel);
}}
menus={() => null}
menuContext={{saveToLocal: '保存图片', cancel: '取消'}}
index={index}
enableSwipeDown={false}
saveToLocalByLongPress={false}
/>
改成这样后,图片仅只有预览功能,还是不可以滑动
感觉还不如直接用,<Image source={{uri=""}} />
The text was updated successfully, but these errors were encountered: