WeAreFairphone / fprsmap

This is a Leaflet map of the local Fairphoners communities
https://map.fairphone.community
GNU General Public License v3.0
10 stars 7 forks source link

Improve UX on touch screen devices #35

Closed StefanBrand closed 7 years ago

StefanBrand commented 7 years ago

Today I had a cousin test the map on my Fairphone 1 and he told me several difficulties he discovered:

StefanBrand commented 7 years ago

Connected in a way to #27.

StefanBrand commented 7 years ago

often when you click on a marker, the map moves instead of that the popup opens

Can't reproduce this on my Fairphone 1. Must be his Nexus... ;)

Roboe commented 7 years ago

...or his fingers

StefanBrand commented 7 years ago

There is the L.Browser object. Do we want to have special code for mobile devices, or apply bigger design elements for all environments (desktop too)?

StefanBrand commented 7 years ago

I guess, this is the way to go: Introduction to CSS Media Queries

Roboe commented 7 years ago

I prefer bigger design for media="all". Less complexity for us, and desktop users are getting used to bigger elements anyway (Material Design is everywhere)

StefanBrand commented 7 years ago

Ok, my first attempt is to make the check boxes bigger. I'll have to read myself into CSS a bit.

StefanBrand commented 7 years ago

often when you click on a marker, the map moves instead of that the popup opens

If this pops up, there is a way to fix it: http://leafletjs.com/reference-1.0.2.html#map-taptolerance