Open rnakashiro opened 1 month ago
The same issue, I have a bottom menu in my Mini app with position: fixed and it jumps up exactly on safearea bottom when i'm scrolling to the page bottom.
MainButton however stays steady, not jumping while scrolling to the bottom.
May be there is a workaround for bottom fixed menus in Mini apps. Everything I've found googling this issue is not working in Mini apps.
I've found a workaround to fix this issue, when MainButton is not shown:
Platform
Select platforms where this bug is reproducible:
Describe the bug
When opening implemented mini-apps on iOS device, the screen scrolls an extra amount equal to the height of the safe-area at the bottom.
When I tried displaying the
mainButton
, it was fixed in place and worked correctly.So, I think it would be better to have the SDK handle the safe-area correctly when the mainButton is not displayed.
Additionally, I tried using the
disableVerticalSwipe
feature ofSwipeBehavior
, but since this feature is intended to prevent the app from closing by swipe, I recognize that a different solution is needed by SDK.when mainButton is not displayed
when mainButton is displayed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The SDK should either avoid adding the extra safe area height or provide an option to disable it.