map.project-osrm.org - Unable to scroll the directions list with mouse wheel after creating a route between 2 points
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Score:3, Webcompat Priority:P3, firefox134 affected, firefox135 affected, firefox136 affected)
People
(Reporter: ctanase, Unassigned)
References
()
Details
(Keywords: webcompat:needs-diagnosis, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux impact:feature-broken configuration:general affects:all branch:release diagnosis-team:dom user-impact-score:30
Attachments
(2 files)
Environment:
Operating system: macOS Monterey 12.7.5/Windows 10
Firefox version: 128/134/136
Steps to reproduce:
- Go to https://map.project-osrm.org/
- Click on 2 locations on map to create a route.
- Try scrolling the directions list on the right of the page with the mouse wheel/track pad/ keyboard keys.
Expected Behavior:
The directions list gets scrolled.
Actual Behavior:
Zooms the page.
Notes:
- Scrolling works only with click n drag on the scroll bar
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/147147
Reporter | ||
Comment 1•6 months ago
|
||
Reporter | ||
Updated•6 months ago
|
Comment 2•6 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 3•6 months ago
|
||
The wheel
event handler on div#map
seems to be eating the scrolling - disabling the handler makes it work.
Comment 4•6 months ago
|
||
This is effectively what's going on: They handle wheel
in the container but prevent propagation of mousewheel
on the inner child:
o.DomEvent.addListener(
this._container,
'mousewheel',
function (e) {
o.DomEvent.stopPropagation(e)
}
),
That somehow works in Chrome to fully avoid firing wheel
in chrome?
Comment 5•6 months ago
|
||
This seems to be an out-of-band modification of leaflet, which does the right thing... And the authors seem to be active, so we might be able to contact them...
Comment 6•6 months ago
|
||
Updated•5 months ago
|
Description
•