GIScience / ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
http://maps.openrouteservice.org
Apache License 2.0
111 stars 33 forks source link

Resizing height does not work when shrinking the window #465

Open McLP2 opened 2 months ago

McLP2 commented 2 months ago

As seen here:

a browser window with ors is resized in height, first taller then smaller

when I resize the browser to become smaller in height, the app does not scale with it. Other directions seem to work. Tested on Firefox and Chromium on Ubuntu 24.04.1.

TheGreatRefrigerator commented 2 months ago

Thanks for the feedback @McLP2,

the app is reactive mostly only for different widths which is usually the case with smaller screens for tablets or phones. Is there a reason why you would want a map app with this small height? or is it the scale bar and bottom controls vanishing that's the issue? -> they will reload after you move the map.

Also, feel free to contribute a PR. We have limited capacity to work on this project.

McLP2 commented 2 months ago

To clarify, this not more than a very minor convenience issue to me. I just have a high appreciation for convenience, as well as for your efforts. I understand that this has a low priority with your limited capacity. If I find the time and motivation, I will try to fix this myself.

From what I can tell, this is just an issue where a size update is missing somewhere. It is not about a specific small height. When I resize in any other direction then decreasing height, it updates to the correct height.