Skip to content

Leaflet 1.9.0 breaks Leaflet Markercluster #8450

Closed
@indigoxela

Description

Checklist

  • I've looked at the documentation to make sure the behavior isn't documented and expected.
  • I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
  • I've searched through the current issues to make sure this hasn't been reported yet.
  • I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce

Switching from Leaflet 1.8 to 1.9 breaks the Markercluster click event.

Nothing in the console, no errors, but no cluster-related event on the cluster marker. Instead it seems to have a "focus" event. But expanding a cluster doesn't work anymore.

I'm aware that this might eventually be a Markercluster bug, but at least it deserves some backwards compatibility considerations in Leaflet core.

Expected behavior

Clicking on a Markercluster should expand it and zoom in.

Current behavior

Nothing at all.

Note that with tabbing I can get a focus on that icon.

Minimal example reproducing the issue

http://olga.indigofloat.at/bugdemo/demo.html

Environment

  • Leaflet version: 1.9.0
  • Browser (with version): Firefox ESR (91.12.0esr), Chromium (104.0.51)
  • OS/Platform (with version): Linux

Metadata

Assignees

Labels

blockerCritical issue or PR that must be resolved before the next releasebug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions