Skip to content

fix: mobile fixes for form messages, the page size select, the floating action button, batch icons, preview swiping and Save as - #3578

Merged
AlexAndBear merged 7 commits into
mainfrom
fix/mobile-follow-up-3577
Oct 7, 2026
Merged

AlexAndBear merged 7 commits into
mainfrom
fix/mobile-follow-up-3577

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Description

Mobile fixes found in the end-to-end mobile test (#3577, findings F1, F2, G2, A1, P1, S1).

  • Input messages (F1): long names in the error and description line of form inputs wrap instead of being cut off, and the error icon keeps its size (OcTextInput, OcSelect, OcTextarea, OcColorInput, OcFileInput).
  • Page size select (F2): selects with positionFixed open their menu upwards when it doesn't fit below; the page size select in the View options uses it, so all options are visible at the bottom of the sheet (OcSelect, OcPageSize).
  • "+" button below the top bar (G2): the floating action button goes from z-99 to z-45. It stays above the page content (nothing there goes higher than z-40), but the top bar (z-50) with its search results is now above it.
  • Batch action icons (A1): batch actions are keyed by action.name instead of their index, so the icons follow the actions after Disable/Enable (BatchActions).
  • Swipe in the preview (P1): a horizontal swipe switches to the next/previous file (useSwipe from VueUse). It is ignored when it starts on the native video/audio controls (their seek bars are dragged) and on zoomed images and motion photos, which are panned instead. Unzoomed images can no longer be dragged out of view (panOnlyWhenZoomed).
  • "+" button inside the app container (S1): the floating action button is now positioned absolutely inside .app-container instead of fixed to the viewport. It sits above whatever follows the container, so the hard-coded bottom-[70px] for embed mode is gone and it no longer overlaps the taller "Save as" footer. The file name input in the embed footer uses the full row below md (AppFloatingActionButton, Application.vue, EmbedActions).
Before After
F1 Rename error Before After
F2 Items per page Before After
G2 Search with keyboard open Before After
A1 Batch bar after Disable Before After
P1 Swipe on an image Before: the image is dragged away, the file stays the same After: the swipe opens the next file
S1 Save as (keyboard open) Before After
S1 Save as
image | After |

Related Issue

How Has This Been Tested?

  • test environment: local dev server, Playwright (Chromium) device emulation on Pixel 7 (412px portrait)
  • test case 1: rename a file to the name of an existing long-named file → the error wraps inside the modal (right edge 395px, modal 411px)
  • test case 2: search with the keyboard open (412×450) → the search results are on top at the "+" button's position (before: the "+" button); navigation drawer still covers the "+" button as before
  • test case 3: Admin → Spaces → select two spaces → Disable, then Enable → the batch bar icons match the actions after each step
  • test case 4 (CDP touch events on Pixel 7): swipe left/right on an image → next/previous file; 40px or vertical swipe → no change; pinch zoom then drag → pans, no file change; pinch, lift one finger and drag the other → no file change; motion photo → swipe switches, zoomed → pans; swipe on a video / audio player → no change, swipe next to them → switches; desktop mouse drag → no change
  • test case 5: View options → Items per page on Pixel 7 → the menu opens upwards with all options visible, picking 50 works; on desktop and in the quota modal (existing positionFixed user) it still opens downwards
  • test case 6: "+" button on phone (412px) and tablet (800px) in personal space, folders (list/grid, 150 items), empty folder, spaces, admin users/groups/spaces and a public link folder: same visibility as before, 8px further inside the content area, never covered, last list entry reachable, "+" menu opens, context menu still covers it; no button where there was none before (shares, favorites, trash, search, admin general, account, file drop). Embed mode: copy picker and "Save as" (also with the keyboard open) – the button is above the footer (before: overlapping in "Save as"), the file name input is 308px instead of 180px
  • unit tests for the swipe (next/previous, threshold, zoomed image, start on audio/video controls)
  • full unit test suite passes

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear changed the title fix: mobile fixes for input messages, the floating action button and batch action icons fix: mobile fixes for input messages, the floating action button, batch action icons and preview swiping Oct 7, 2026
@AlexAndBear AlexAndBear changed the title fix: mobile fixes for input messages, the floating action button, batch action icons and preview swiping fix: mobile fixes for form messages, the page size select, the floating action button, batch icons and preview swiping Oct 7, 2026
@AlexAndBear AlexAndBear changed the title fix: mobile fixes for form messages, the page size select, the floating action button, batch icons and preview swiping fix: mobile fixes for form messages, the page size select, the floating action button, batch icons, preview swiping and Save as Oct 7, 2026

@JammingBen JammingBen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swiping 🙌

@AlexAndBear
AlexAndBear merged commit 4d9756e into main Oct 7, 2026
31 checks passed
@AlexAndBear
AlexAndBear deleted the fix/mobile-follow-up-3577 branch October 7, 2026 13:21
openclouders pushed a commit that referenced this pull request Oct 7, 2026
…ng action button, batch icons, preview swiping and Save as (#3578)
@openclouders openclouders mentioned this pull request Oct 7, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile usability issues found in a full end-to-end test (follow-up to #3572)

2 participants