Map interactions broken when I use zoom css property
Open
Nobody has claimed this yet.
auto-triaged
bug :lady_beetle:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
mapbox-gl-js version: "2.6.1"
browser: chrome latest version
Steps to Trigger Behavior
- Use zoom css prop

-
Create new feature
-
Add mouse handlers
-
Try to Drag and Drop.

AR: Mouse position doesn't handle correctly
Link to Demonstration
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 with the linked reproduction and the map interaction code that handles mouse positions, focusing on the reported CSS zoom behavior and drag-and-drop handlers. Reproduce the issue in Chrome with mapbox-gl-js 2.6.1; done means creating a feature and dragging it reports the correct mouse position when CSS zoom is applied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100