fedspendingtransparency/usaspending-website

Mobile users can't scroll below map on homepage

Closed this issue · 2 comments

The map on the homepage is full width and taller than the screen on my iPhone, which means I can't pan down and see the footer. :( (This screenshot is from my desktop.)

image

Hopefully this might save some time -
the current recommended way to account for this in the GL API is to detect mobile and disable the dragRotateHandler if mobile = true.

Thanks for the suggestion, @laurenancona! We're implementing that suggestion this sprint, along with mobile-only buttons that pan the map up, down, left, and right.