mapbox / mapbox/mapbox-gl-js

Mouseover behaves like mouseenter, not mousemove

Open
#9,182 2 comments 0 reactions 1 assignee View on GitHub

@ryanhamley is already working on this.

Since Jan 15, 2020.

docs :scroll:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Both the 'mouseover' and 'mousemove' events have the same description:

`Fired when a pointing device (usually a mouse) is moved within the map.`

In practice though, `mouseover` seems to behave exactly like `mouseenter`: it fires once when the mouse enters the layer, but not when moving between features in the layer, or within a single feature.

Somehow related to #7299

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.