Hitchwiki / hitchwiki

The Hitchhiker's Guide to Hitchhiking the World
https://hitchwiki.org
32 stars 9 forks source link

Mouse events don't reach map layer #169

Closed simison closed 7 years ago

simison commented 7 years ago

It's not possible to interact with the map right now. Probably just some changes at MW DOM via version updates.

https://beta.hitchwiki.org/en/Special:HWMap

This one covers the whole map element currently: .page-Special_HWMap .mw-indicators.mw-body-content — hiding it helped. Hit this to browser console to test:

jQuery('.page-Special_HWMap .mw-indicators.mw-body-content').hide()

This might also cause issues:

.page-Special_HWMap .mw-body-content {
  pointer-events: none;
}
traumschule commented 7 years ago

The map disappears completely when I

  1. add to .page-Special_HWMap in extensions/HWMap/modules/less/specialpage.less
    • mw-indicators.mw-body-content.hide()
  2. add to .mw-body-content in extensions/HWMap/modules/less/specialpage.less
    • display: none;