gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
10 stars 6 forks source link

No footer in occurrence search #157

Open jholetschek opened 3 years ago

jholetschek commented 3 years ago

In the occurrence search view, the footer is missing. Some people found this very confusing.

MortenHofft commented 3 years ago

Did they really find it "very confusing"?

I remember removing it explicitly, but I cannot remember why. I suspect it had to do with behaviour when scrolling the table and zooming the map.

jholetschek commented 3 years ago

Well... maybe it was just mildly confusing or strange, but it has been noted by several users. Is there a reason not to show it? It doesn't take up space, since it's usually outside the visible area.

MortenHofft commented 3 years ago

The reason is styling. It behaves odd because the widget has a height. The widget has a height because it makes it easier to control - similar to how a Google map have a height when you insert it on a page. The problem is that scrolling then becomes tricky. I haven't really figured out how to handle it well so I disabled the footer as the best/fastest solution. But you can just enable it. It is simply hidden. I've added it to your site.

jholetschek commented 3 years ago

Ah... I see. Thanks!