NINAnor / nina-map-explorer

Experimental webapp to show PMTiles
https://maps.nina.no
2 stars 0 forks source link

Useless scrollbars appearing #6

Open frafra opened 8 months ago

frafra commented 8 months ago

Here is the regression:

image

This is because there are too many height/width attributes specified. Here is a workaround:

image

This is the result:

image

I understood this is because the underlying React component implements infinite scrolling (to support very long lists) by using absolute positioning, so dimensions must be computed in advance: https://github.com/brimdata/react-arborist/issues/86.

I think it is reasonable to assume we will not handle thousands of layers.

frafra commented 1 week ago

Still happening

image