gpxstudio / gpx.studio

the online GPX file editor
https://gpx.studio/
MIT License
153 stars 25 forks source link

[Improvement] Better visibility of POI popup #124

Open gorgobacka opened 2 days ago

gorgobacka commented 2 days ago

I think, a few points could be improved for the visibility of the POI popups.

  1. Popups with a lot of data is very big and often not fully visible. Maybe you could add a scroll bar to its content.
  2. Sometimes they open to the top and sometimes they open to the bottom even if that direction does not make much sense (close to the boarder), because the opposite direction has much more space.
vcoppe commented 1 day ago
  1. is now fixed.
vcoppe commented 1 day ago

For 1., there is an issue with the ScrollArea component that I am using: it doesn't work with max-height at the moment (see https://github.com/melt-ui/melt-ui/issues/1202). The default CSS scroll behavior shows an ugly bar even when the content is small enough so I am not satisfied with it.