Popup can stay when mouse goes to popup area
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I added a popup to the map, and it displays when the point is hovered over. In my implementation, there is a link in a popup, thus, if I move the mouse to the popup area from its point, it disappears and I can't click the link. I know I can do that with the close button, but it introduces additional actions to the close popup. What I request from you is that if the mouse is hovered over a marker or popup area, then the popup should not get close.
Is there anything in Mapbox gl that I can use to implement above feature.
please let me know if you need more details,
Thank you in advance
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 by reading the existing popup hover and close behavior in Mapbox GL JS; the issue names no file or test. Done means a popup remains open while the pointer is over its marker or popup area, allowing links inside the popup to be clicked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100