From f70d8af2b2904c8b4b85984acb365b7945957f27 Mon Sep 17 00:00:00 2001 From: krusty-agent Date: Tue, 10 Feb 2026 09:02:28 -0800 Subject: [PATCH] fix: mobile scrolling issues - remove nested scroll containers and horizontal overflow - Remove redundant overflow-y-auto from ListView (was nested inside main's scroll) - Remove deprecated -webkit-overflow-scrolling: touch inline style and CSS rule - Add overflow-x-hidden to main content, Panel content, and ItemDetailsModal - Add overscroll-y-contain and touch-action on main for native-feeling scroll - Add flex layout to #root for proper height propagation - Simplify overscroll-behavior CSS to just contain child scroll containers Fixes: weird scrolling feel on mobile and horizontal scroll in Edit Item panel --- src/App.tsx | 2 +- src/components/ItemDetailsModal.tsx | 2 +- src/components/ui/Panel.tsx | 2 +- src/index.css | 10 ++++------ src/pages/ListView.tsx | 3 +-- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 22da7b9..29ead4b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -98,7 +98,7 @@ function AuthenticatedLayout({ children }: { children: React.ReactNode }) { {/* Main content */} -
+
{children}
diff --git a/src/components/ItemDetailsModal.tsx b/src/components/ItemDetailsModal.tsx index 33866d9..17409af 100644 --- a/src/components/ItemDetailsModal.tsx +++ b/src/components/ItemDetailsModal.tsx @@ -145,7 +145,7 @@ export function ItemDetailsModal({ ariaLabelledBy="item-details-title" > {/* Content */} -
+
{/* Name */}