A local-first personal finance app
Fix iOS mobile navigation tabs disappearing on bouncing top (#3962)
Marian Bäuerle9af3539b91ca
diff --git a/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx b/packages/desktop-client/src/components/mobile/MobileNavTabs.tsxindex b40f2bf1c5..307bf79c26 100644--- a/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx+++ b/packages/desktop-client/src/components/mobile/MobileNavTabs.tsx@@ -138,10 +138,10 @@ export function MobileNavTabs() {<div key={idx} style={navTabStyle} />));- useScrollListener(({ isScrolling }) => {- if (isScrolling('down')) {+ useScrollListener(({ isScrolling, hasScrolledToEnd }) => {+ if (isScrolling('down') && !hasScrolledToEnd('up')) {hide();- } else if (isScrolling('up')) {+ } else if (isScrolling('up') && !hasScrolledToEnd('down')) {openDefault();}});diff --git a/upcoming-release-notes/3962.md b/upcoming-release-notes/3962.mdnew file mode 100644index 0000000000..be7f74b03c--- /dev/null+++ b/upcoming-release-notes/3962.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [mbaeuerle]+---++Fix iOS mobile navigation tabs disappearing on bouncing top and appearing on bouncing bottom.