Skip to content

On linux+chromium, scrollwheel zoom is doubledΒ #8859

@IvanSanchez

Description

Steps to reproduce

Just like #8125/#7403, but happening on Chromium instead:

  • Have a cheap-o USB mouse with a "clicky" scrollwheel
  • Launch Linux+Chromium
  • Go to any Leaflet map
  • Use the scrollwheel to zoom in/out

Expected behavior

Zoom level changes by 1.

Current behavior

Zoom level changes by 2.

Environment

  • Leaflet version: git checkout from main branch as of 2023-02-22 (1fa85b6)
  • Browser (with version): Chromium 109.0.5414.119
  • OS/Platform (with version): Debian bookwork/sid.

Screen is normal DPI (i.e. window.devicePixelRatio is 1).


At first sight this looks like a regression from #8298, and most probably will need the same diagnostics as #7403.

Chromium on Win+Mac needs to be checked for this.

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions