Mouse cursor disappears over map on Linux/Wayland (Firefox and Chromium; works under X11)
Author: JeffAbrahamsonCreated Aug 15, 2026Updated Aug 15, 2026
Labelsbugneeds triage
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
Visiting https://leafletjs.com/examples/quick-start/ with firefox or chrome under wayland leads to the mouse cursor disappearing when over the leaflet frame. The same under X11 (via xwayland) succeeds.
| Browser | Backend | Result |
|---|---|---|
| Firefox 153 | Wayland | cursor disappears |
| Chromium (Snap) | Wayland | cursor disappears |
| Google Chrome | Wayland | cursor disappears |
| Google Chrome | X11/XWayland | works |
For info, my host is
jeff@vogel:~ $ sway --version
sway version 1.9
jeff@vogel:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.4 LTS
Release: 24.04
Codename: noble
jeff@vogel:~ $ Expected behavior
I expect to continue to see the mouse cursor when moving over leaflet panes.
Current behavior
When moving the mouse over leaflet panes, if the compositor is wayland, the mouse disappears. If Xwayland (or X11), the mouse remains visible.
Minimal example reproducing the issue
https://leafletjs.com/examples/quick-start/
Environment
This is your example page, so I trust it works and has no suspect third party tech.
Source: Leaflet/Leaflet