Skip to content

[Bug] getTooltip disappears when autoHighlight: true and interleaved: true in MapboxOverlay (deck.gl) #9599

@iPOiZN

Description

@iPOiZN

Description

When using MapboxOverlay from the latest deck.gl version, if autoHighlight: true and interleaved: true are enabled, the tooltip (getTooltip) disappears unless the cursor is actively moving over the layer. As soon as the cursor stops moving, the tooltip disappears.
When autoHighlight: false, the issue does not occur — the tooltip remains visible as expected.

Actual behavior:
The tooltip disappears as soon as the cursor stops moving.

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS
  • Vue

Expected Behavior

The tooltip should remain visible while hovering over the object, even if the cursor is not moving.

Steps to Reproduce

Use MapboxOverlay with interleaved: true.

Enable autoHighlight: true.

Provide a getTooltip function.

Hover over a layer without moving the cursor.

Environment

  • Framework version: deck.gl@9.1.11
  • mapbox-gl version: 3.11.0
  • Browser: Chrome 135.0.7049.115 (ARM 64)
  • OS: MacOS Sequoia 15.4.1

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions