Skip to content

DBC22-4932: centre map objects/routes in visible mobile area#1407

Open
ray-oxd wants to merge 1 commit into
mainfrom
bugfix/DBC22-4932
Open

DBC22-4932: centre map objects/routes in visible mobile area#1407
ray-oxd wants to merge 1 commit into
mainfrom
bugfix/DBC22-4932

Conversation

@ray-oxd

@ray-oxd ray-oxd commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

📝 Submitter

🔗 JIRA Ticket


✅ Quality Assurance & Requirements

  • Requirements Met: I have confirmed that all acceptance criteria from the JIRA ticket are fulfilled.
  • Tested desktop in local or dev envs
  • Tested mobile in local or dev envs
  • Ran unit tests locally
  • SonarCloud: I have verified that the SonarCloud analysis is clean/passing for this branch.

⚙️ Configuration & Environment

  • New Env Variables: No

🧪 How to Test (if required)

  1. On a mobile-width viewport, open the map and click a map object.
  2. Confirm the object centres in the visible map area above the half-panel (not under it).
  3. Enter a route (two destinations) and confirm the route fits in the visible area above the panel.
  4. Related shared-link behaviour: see DBC22-5245.

🔍 Reviewer Checklist

  • Reviewed code for logic and cleanliness
  • Re-tested desktop/mobile in local or dev envs
  • Verified no new console warnings/errors
  • Confirmed that any new env variables are understood/documented

Use bottom-drawer layout (!largeScreen) for anchored pan, keep click
position/layout in refs, and pad fitMap so routes aren't covered by the
half-panel. Related: DBC22-5245.
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.

1 participant