mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #7085] fix(clients): keep the mobile search/filter bar in view while scrolling #6639
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6639
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/7085
Author: @Mo7amadd
Created: 11/5/2026
Status: 🔄 Open
Base:
main← Head:fix/clients-mobile-sticky-filter-bar📝 Commits (1)
b8a2657fix(clients): keep the mobile search/filter bar in view while scrolling📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
frontend/src/pages/clients/ClientsPage.css(+7 -1)📄 Description
Summary
On the mobile card view of the Clients page, the search / filter / sort bar now sticks to the top while the card list scrolls.
Why
With 100 or 200 clients per page, the card list on a phone is several screens long. Reaching the search box or the filter button means scrolling all the way back up.
What changed
ClientsPage.cssonly:.filter-bar.mobilebecomesposition: stickyattop: 60px, which is just below the fixed drawer handle (12px offset + 40px button) so the two never overlap. It gets the card background so cards scrolling underneath don't show through, and its padding is the same whether stuck or not, so the list never jumps when it sticks.Type of change
Areas affected
How was this tested?
npm run typecheck,npm run lint,npm run format:check,npm run buildandnpm run build-storybookpass; the existing suites pass.npm run devwith a mocked API (120 clients) at the iPhone 13 viewport: scroll the card list; the bar stays at 60px from the top with the drawer handle fully visible above it, nothing shows through it, and the cards don't shift when it sticks; the same in the dark theme. Desktop is unaffected (the rule is scoped to.filter-bar.mobile).Screenshots / recordings
Breaking changes
None.
Checklist
go build ./...and the test suite pass locally. (Frontend-only change; no Go code touched, so the Go suite was not run.)npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.