Page MenuHomePhabricator

Adjust scroll into view to prevent overlapping with buttons
Closed, ResolvedPublic

Description

When you click a marker near to top border, the popup scrolls into view. Since the scrolling triggers the reload button, there currently can be an overlapping. Also the buttons on the sides can overlap with a popup.

Screenshot from 2023-02-09 11-20-48.png (421×464 px, 200 KB)
Screenshot from 2023-03-15 13-48-14.png (504×510 px, 180 KB)
  • Change the top padding of the scroll into view so that the popup shows below the button.
  • Change padding to the sides to prevent overlapping with buttons there (zoom, close button, etc.).

Results

Screenshot from 2023-03-15 13-49-32.png (488×527 px, 143 KB)
Screenshot from 2023-03-15 13-49-50.png (571×544 px, 190 KB)

Related Objects

Event Timeline

Change 899606 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/extensions/Kartographer@master] Adjust autoPanPadding to prevent overlapping with buttons

https://gerrit.wikimedia.org/r/899606

lilients_WMDE renamed this task from Adjust scroll into view to prevent overlapping with reload button to Adjust scroll into view to prevent overlapping with buttons.Mar 15 2023, 12:50 PM
lilients_WMDE updated the task description. (Show Details)

Change 899606 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Adjust autoPanPadding to prevent overlapping with buttons

https://gerrit.wikimedia.org/r/899606

Change 900398 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/Kartographer@master] Use larger autoPanPadding only for nearby popups

https://gerrit.wikimedia.org/r/900398

Change 900398 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Use larger autoPanPadding only for nearby popups

https://gerrit.wikimedia.org/r/900398

WMDE-Fisch updated Other Assignee, removed: WMDE-Fisch.