GIScience / GIScience/ors-map-client

Inconsistent Context Menu Offset

Open
#462 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
145
Forks
39
PR merge metrics
No merged PRs in 30d

Description

When right-clicking on the map, the context menu opens at a semi-random offset (see attached examples). At first I thought this was a feature, but since it is inconsistent, I am not so sure. You might want to look into that at some time.

![ors_menu_offset_example5](https://github.com/user-attachments/assets/941e5030-c4a5-4572-b306-793c79221bf0)
![ors_menu_offset_example4](https://github.com/user-attachments/assets/c7d81fc3-7983-4261-90df-f43fd09f9621)
![ors_menu_offset_example3](https://github.com/user-attachments/assets/15b03a83-f5a0-4268-b01d-41b8f636103b)
![ors_menu_offset_example2](https://github.com/user-attachments/assets/d8e76ebc-6482-40d8-890a-17194615c6ac)
![ors_menu_offset_example1](https://github.com/user-attachments/assets/eae84e77-0240-4143-9188-11c8efb1e945)

Thanks for your great work!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the inconsistent offset when right-clicking the map and inspect the context-menu positioning entry point in the frontend. Trace how the click coordinates become the menu position; done means the menu opens at the expected location consistently across the attached examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.