maproulette / maproulette/maproulette-frontend
Unable to pan or zoom map, after jumping into a location via search.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 167
- Forks
- 39
- Avg merge
- 16h 34m
- Merged PRs (30d)
- 11
Description
What happened?
When I search for a location from the Find Challenges screen, it now zooms correctly (see #2843) but I am unable to pan or zoom the map, to review other tasks in the vicinity.
This happens consistently, whether tasks are found, or not. I seem to be stuck to that area of the map.
Whenever there are tasks found near the edges of the map, starting a task is like playing a game Whac-A-Mole, (Map-a-mole?! 😁 ) , the window for the marker keeps "bouncing", and it's only by chance can one hit the
Steps to reproduce
- Go to Find Challenges
- Use any of the search Options
- When a place is found the map will zoom around the search area.
- It would be impossible to pan away or zoom in/out of the area
Demo of window view, unable to pan or zoom:
https://github.com/user-attachments/assets/c86632e7-ff7f-4097-a1a5-9cec921a5b33
Demo of tasks at the edge of the window, jumping side to side, making it impossible to select them:
https://github.com/user-attachments/assets/4f8e59fa-c40a-4b23-bef9-8fbd691ea4ce
Environment
Linux, Firefox
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Find Challenges search flow and reproduce the issue in Firefox using the listed steps. Trace the map behavior after a location is found; done means the map can still be panned and zoomed, and task markers near the window edges can be selected reliably.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100