Closed shanger closed 3 weeks ago
Hey @shanger,
Are you still facing issues with this? We have made position corrections related to the status bar, which affected the calculation of the top but not the bottom.
If you are experiencing any problems, please provide the GitHub repository with a reproduction of the issue.
Hey @shanger , we are closing this issue for now, please feel free to reopen the issue if you are still facing it/ having any queries about it.
Description
Position correction related to statusbar should correct all position information of y axis。
CodeSandbox/Snack link
no repo。https://github.com/GeekyAnts/NativeBase/tree/master/example
Steps to reproduce
When top + height = window.height, adding APPROX_STATUSBAR_HEIGHT to top will exceed the visible area of the screen。
position[FLIPPED_DIRECTION[axis]] = Math.floor( containerHeight -( childOffset[axis] +statusbar.height)+ offset );
https://github.com/gluestack/gluestack-ui/blob/188497e584781f332711fa624c1d68dd0d67bb38/packages/react-native-aria/overlays/src/useOverlayPosition.ts#L180C3-L182C4
https://github.com/gluestack/gluestack-ui/blob/188497e584781f332711fa624c1d68dd0d67bb38/packages/react-native-aria/overlays/src/useOverlayPosition.ts#L502C4-L505C7
gluestack-ui Version
@react-native-aria/overlays@0.3.12
Platform
Other Platform
No response
Additional Information
NativeBase:"3.4.28"