oeco / opendev-wptheme

Open Development - JEO child theme
1 stars 6 forks source link

Map zooms on mouse scroll although disabled #15

Closed acorbi closed 9 years ago

acorbi commented 9 years ago

Reproducing on http://opendevelopmentmekong.net/

Maps in pages such as http://opendevelopmentmekong.net/2015/01/31/google-eyes-burgeoning-digital-revenue-in-2015/#!/story=post-370&loc=18.35452552912664,101.414794921875,7 still zoom in/out on mouse scroll

miguelpeixe commented 9 years ago

The settings on this page is exclusive to the "interactive map". Available using the [odmap] shortcode. Each map has it's own setting.

acorbi commented 9 years ago

Could we disable the zoom scrolling in the maps per default? That would make navigation through the site way easier. Specially on pages with maps taking big part of the screen.

miguelpeixe commented 9 years ago

I can disable mousewheel zoom for every map but that's irreversible. All maps will have mousewheel zoom disabled. Is that ok?

acorbi commented 9 years ago

I would just leave that functionality for the [+] & [-] buttons on the map. If "zoom on scrolling is enabled" there are pages that become unbrowsable like this one http://opendevelopmentmekong.net/maps/greater-mekong-subregion-hydropower-dams-2014/#!/story=post-58760&loc=-85.035941506574,-425.7421875,2 Try to scroll down to the bottom here using your favourite multi-touch device....

miguelpeixe commented 9 years ago

Ok, I'll disable the mousewheel by default and hide this map setting option on the child theme.

miguelpeixe commented 9 years ago

Fixed 3aeac38dce3c6eff97ad73879e6df1ca24205d88 Available on the new release 0.1.2