gis-ops / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
157 stars 87 forks source link

[BUG] HeightGraph Y-axis goes behind Directions Tab #136

Closed MihirKp25 closed 1 year ago

MihirKp25 commented 1 year ago

Description

What is the problem you are facing

Users when trying to find Directions using the Directions tab and at the same time want to look at the height graph, then some part of the graph is not visible. Also when the user closes that tab, the graph tab also closes automatically.

What is your suggested solution

We can improve user experience by solving this problem. We can either reduce the size of the graph permanently or we can reduce its width only for the time when the tab is open. This thing can be achieved by managing states. I think the latter idea would be better, though managing states is a bit difficult for me here. If anyone has already managed states in it please tell me.

Screenshots

image8