Closed jonxssc closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
rnas | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 14, 2024 5:26pm |
Hey, thanks for the PR, are you able to consistently reproduce this issue?
Yes, on every version greater then 0.8.3 the error ocures, on both Platforms (Android and Ios). It doesnt happen always when opening a Actionsheet, but i noticed when opening for example a textinput or changing a big part of the content, which effects the height of the Actionsheet, then the bottom space appears.
I made a more proper fix in #330 PR but I will merge this too for now. Thanks for contributing!
Fixes the Issue of a sometimes appearing Bottom Space at the ActionSheet. In this Image you see a big green space on the bottom of the Actionsheet, this appears sometimes on Android and Ios like this Issue told us: https://github.com/ammarahm-ed/react-native-actions-sheet/issues/222
By removing the
- safeMarginFromTop
it calculates the Actionsheet height correctly and the problem should be solved.I tested it using version 0.8.29 on Android and Ios, on both Devices it was fixed.