diff --git a/src/custom-tab-bar/index.tsx b/src/custom-tab-bar/index.tsx index c16baaf..7ed003d 100644 --- a/src/custom-tab-bar/index.tsx +++ b/src/custom-tab-bar/index.tsx @@ -30,7 +30,7 @@ function getSafeBottom(): number { try { const info = Taro.getSystemInfoSync() if (info.safeArea) { - return info.safeArea.bottom + return info.screenHeight - info.safeArea.bottom } } catch { /* ignore */ } return 0