webbukkit/dynmap

Large sidebar incorrectly laid out on page load

Opened this issue · 0 comments

When there are a lot of things in the sidebar and the sidebar is taller than the window, the sidebar is laid out incorrectly when the page loads: some sections are off the bottom of the page and inaccessible, and scroll buttons are missing. After resizing the window, the layout is correct: all sections are visible and have scroll buttons. The layout should also be correct when the page loads. I've seen this happening on firefox, chrome and chrome for android.

On page load - there's supposed to be a 'trains' section (added by https://github.com/Zhincore/dynmap-trains), but it's completely off the bottom of the page because the dimensions section is taking up so much space:

Screenshot from 2024-08-16 14-18-09

After resizing - even back to the same initial size - with the dimensions and trains both visible and with scroll buttons:

Screenshot from 2024-08-16 14-18-22

[y] I have looked at all other issues and this is not a duplicate
[y] I have been able to replicate this