From c39264d40ca33c91e462a0fc4321f4daf53653cd Mon Sep 17 00:00:00 2001 From: chenwenhui133 <2984202073@qq.com> Date: Tue, 23 Sep 2025 14:44:58 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICRN3X]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-image-viewing=E5=BA=93=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E9=81=97=E7=95=99=E9=97=AE=E9=A2=98=EF=BC=8C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E5=B7=B2=E6=94=AF=E6=8C=81=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-image-viewing.md | 8 ++------ zh-cn/react-native-image-viewing.md | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/en/react-native-image-viewing.md b/en/react-native-image-viewing.md index 8b72bb31..995bceac 100644 --- a/en/react-native-image-viewing.md +++ b/en/react-native-image-viewing.md @@ -212,17 +212,13 @@ Check the release version information in the release address of the third-party | animationType | Animation modal presented with: default | none, fade, slide | All | No | Yes | | presentationStyle | Modal presentation style: default: fullScreen Android: Use overFullScreen to hide StatusBar | fullScreen, pageSheet, formSheet, overFullScreen | All | No | Partially (Support "fullScreen", "overFullScreen") | | backgroundColor | Background color of the modal in HEX | string | All | No | Yes | -| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | No | -| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | No | +| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | Yes | +| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | Yes | | HeaderComponent | Header component, gets current imageIndex as a prop | component, function | All | No | Yes | | FooterComponent | Footer component, gets current imageIndex as a prop | component, function | All | No | Yes | ## Known Issues -- [x] The swipe-to-close property is not implemented because the **naticeEvent.velocity** property of **scrollView** is not supported by HarmonyOS: [issue#6](https://github.com/react-native-oh-library/react-native-image-viewing/issues/6). -- [x] The **doubleTapToZoomEnabled** property is not supported by HarmonyOS: [issue#7](https://github.com/react-native-oh-library/react-native-image-viewing/issues/7). -- [x] The fade-in/fade-out effect of the **animationType** property is not implemented because the adaptation of the **modal** component is not completed: [issue#8](https://github.com/react-native-oh-library/react-native-image-viewing/issues/8). - ## Others ## License diff --git a/zh-cn/react-native-image-viewing.md b/zh-cn/react-native-image-viewing.md index 65a43cdc..d81ddeb2 100644 --- a/zh-cn/react-native-image-viewing.md +++ b/zh-cn/react-native-image-viewing.md @@ -211,17 +211,13 @@ const styles = StyleSheet.create({ | animationType | Animation modal presented with: default | none, fade, slide | All | No | Yes | | presentationStyle | Modal presentation style: default: fullScreen Android: Use overFullScreen to hide StatusBar | fullScreen, pageSheet, formSheet, overFullScreen | All | No | Partially (Support "fullScreen", "overFullScreen") | | backgroundColor | Background color of the modal in HEX | string | All | No | Yes | -| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | No | -| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | No | +| swipeToCloseEnabled | Close modal with swipe up or down: default | boolean | All | No | Yes | +| doubleTapToZoomEnabled | Zoom image by double tap on it: default | boolean | All | No | Yes | | HeaderComponent | Header component, gets current imageIndex as a prop | component, function | All | No | Yes | | FooterComponent | Footer component, gets current imageIndex as a prop | component, function | All | No | Yes | ## 遗留问题 -- [x] 组件上下滑动关闭暂未实现,由于 scrollView的naticeEvent.velocity属性HarmonyOS暂不支持 [issue#6](https://github.com/react-native-oh-library/react-native-image-viewing/issues/6) -- [x] 组件双击放大方法暂未实现,由于doubleTapToZoomEnabled属性HarmonyOS暂不支持 [issue#7](https://github.com/react-native-oh-library/react-native-image-viewing/issues/7) -- [x] 组件animationType淡入淡出效果暂未实现,由于modal组件未适配 [issue#8](https://github.com/react-native-oh-library/react-native-image-viewing/issues/8) - ## 其他 ## 开源协议 -- Gitee