[openstreetmap/openstreetmap-website] Search, history panes take too much space on mobile (#1865)

sebashwa notifications at github.com
Sat Jul 7 16:46:32 UTC 2018


I recently ran into the same issue. Actually you can toggle away the search / history stuff by pressing the menu icon (this was very confusing to me also). What always stays on the main screen though is the search / directions result (see screenshot).

<img src="https://user-images.githubusercontent.com/3218388/42412817-fb567e3c-8213-11e8-8016-b7ed78e724bf.jpg" width="300" />

I agree that the map is pretty unusable in this state. It's even impossible to press some buttons on the right side of the map.

I see two possible solutions for this:

**1)** Put the search results inside the menu, keep the menu toggleable and make the whole menu scrollable
**2)** Make it possible to collapse / expand the search result on the main screen, instead of having the little 'x'-button on the top right of the search result to delete the current request. The 'x'-button is redundant anyways and I can not come up with a scenario where it is necessary.

My preferred solution is **1)**, because even the collapsed state of the search result suggested in **2)** is taking up some space.

I'd be happy to write a PR for this, if a contributor agrees that it's a good idea 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1865#issuecomment-403228465
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180707/3b09e098/attachment.html>


More information about the rails-dev mailing list