Skip to content

map.on("idle" is not firing in 3.17.0 (worked in 3.16.0) #13602

@jaybo

Description

@jaybo

mapbox-gl-js version

v3.17.0

Browser and version

Chrome 142.0.7444.176

Expected behavior

In v3.16.0, map.on("idle") fired appropriately.

Actual behavior

After upgrading to v3.17.0 (with no other code changes on my part), map.on("idle") never fires. Unfortunately, a simple example as in the link below doesn't demonstrate the issue, so it's some other weird interaction.

Link to the demonstration

https://codepen.io/jaybonomad/pen/pvyQqYZ?editors=1111

Steps to trigger the unexpected behavior

Unfortunately, I can't repro in a simple example.

Other info:

  • toolchain: Quasar / Vue / Typescript
  • using mapbox-draw
  • using custom layer
  • not setting repaint: true in options
  • map.isMoving() == false
  • map.isEasing() == false
  • map.isZooming() == false
  • map.isStyleLoaded() == true

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions