Skip to content

Conversation

@krusty-agent
Copy link
Collaborator

Fixes the weird scrolling behavior on mobile and horizontal scroll in the Edit Item panel.

Changes

  • Remove nested scroll containers: ListView had its own overflow-y-auto inside main's scroll context, causing competing scroll behaviors
  • Remove deprecated webkit property: Removed -webkit-overflow-scrolling: touch (both inline and CSS rule) — deprecated and can cause jank
  • Fix horizontal scroll in Edit panel: Added overflow-x-hidden to Panel content area and ItemDetailsModal content
  • Proper touch handling: Added touch-action: pan-y pinch-zoom and overscroll-y-contain on main for smooth native-feeling scroll
  • Flex layout on #root: Ensures proper height propagation through the layout

Root cause

Nested scroll containers (body overflow:hidden#root overflow:hiddenmain overflow-y-autoListView overflow-y-auto) were fighting each other, making scrolling feel 'off'. The horizontal scroll was from content overflowing the panel width.

Build tested: ✅ bun run build passes

…rizontal 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
@brianorwhatever brianorwhatever merged commit bb86417 into main Feb 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants