From 1bbe13d6533593f2f2afcf43509113e5ef299a71 Mon Sep 17 00:00:00 2001 From: qinjianqili Date: Thu, 10 Jul 2025 20:42:12 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#ICLISX]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-gesture-handler=E7=9A=84statusbaranimatio?= =?UTF-8?q?n=E5=B1=9E=E6=80=A7=E6=94=AF=E6=8C=81=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/react-native-gesture-handler.md | 4 +++- zh-cn/react-native-gesture-handler.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/en/react-native-gesture-handler.md b/en/react-native-gesture-handler.md index 6c1e92cf..9c36849d 100644 --- a/en/react-native-gesture-handler.md +++ b/en/react-native-gesture-handler.md @@ -319,7 +319,7 @@ Properties | drawerType | A gesture object | 'front'\|'back'\|'slide' | All | yes | | edgewidth | allows for defining how far from the edge of the content view the gesture should activate. | number | All | yes | | hideStatusBar | when set to `true` Drawer component will use [StatusBar](https://reactnative.dev/docs/statusbar.html) API to hide the OS status bar whenever the drawer is pulled or when its in an "open" state. | boolean | All | yes | -| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | yes | +| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | no | | overlaycolor | of a semi-transparent overlay to be displayed on top of the content view when drawer gets open. | color | All | yes | | rendernavigationview | his attribute is present in the standard implementation already and is one of the required params. | function | All | yes | | ondrawerclose | This function is called when the drawer is closed. | function | All | yes | @@ -462,6 +462,8 @@ Y coordinate, expressed in points, of the current position of the pointer (finge ## Others +- [ ] statusbaranimation property is not supported due to the fact that Arkts bar only supports fade-in and fade-out animations, and the RN framework status bar animation is not supported. Issue: [issue#55](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/issues/55) + ## License This project is licensed under [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-linear-gradient/blob/harmony/LICENSE). diff --git a/zh-cn/react-native-gesture-handler.md b/zh-cn/react-native-gesture-handler.md index 069c98e1..4f7cc673 100644 --- a/zh-cn/react-native-gesture-handler.md +++ b/zh-cn/react-native-gesture-handler.md @@ -321,7 +321,7 @@ ReactButton 属性 | drawerType | A gesture object | 'front'\|'back'\|'slide' | All | yes | | edgewidth | allows for defining how far from the edge of the content view the gesture should activate. | number | All | yes | | hideStatusBar | when set to `true` Drawer component will use [StatusBar](https://reactnative.dev/docs/statusbar.html) API to hide the OS status bar whenever the drawer is pulled or when its in an "open" state. | boolean | All | yes | -| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | yes | +| statusbaranimation | Can be used when `hideStatusBar` is set to `true` and will select the animation used for hiding/showing the status bar. | 'fade'\|'slide'\|'none' | All | no | | overlaycolor | of a semi-transparent overlay to be displayed on top of the content view when drawer gets open. | color | All | yes | | rendernavigationview | his attribute is present in the standard implementation already and is one of the required params. | function | All | yes | | ondrawerclose | This function is called when the drawer is closed. | function | All | yes | @@ -464,6 +464,8 @@ Y coordinate, expressed in points, of the current position of the pointer (finge ## 其他 +- [ ] statusbaranimation属性由于Arkts bar 只有淡出淡入动画和RN框架状态栏动画不支持,该功能暂不支持,问题: [issue#55](https://github.com/react-native-oh-library/react-native-harmony-gesture-handler/issues/55) + ## 开源协议 本项目基于 [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-linear-gradient/blob/harmony/LICENSE) ,请自由地享受和参与开源。 -- Gitee