Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train section in the sidebar cut off on page load #15

Closed
calliecameron opened this issue Aug 16, 2024 · 5 comments
Closed

Train section in the sidebar cut off on page load #15

calliecameron opened this issue Aug 16, 2024 · 5 comments

Comments

@calliecameron
Copy link

My server has lots of dimensions (the planets from Ad Astra), so there's a lot of stuff in the sidebar. On page load, the dimensions section is expanded, and some or all of the trains section is off the bottom of the page (see bottom right, should be under players):

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

(In this image it's all off the page, in a bigger window it's partly off the page and the down arrow at the bottom is inaccessible.)

After resizing the window - even if it's changed back to the same size afterwards - the trains section is properly scaled:

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

@calliecameron
Copy link
Author

calliecameron commented Aug 16, 2024

When the train section is only partially visible on page load, mouse wheel scrolling also doesn't work on it till it's been resized.

@calliecameron
Copy link
Author

This is worse on mobile, because you can't easily realize the browser to force the sidebar to render correctly (using the browser split-screen on android works).

@Zhincore
Copy link
Owner

I would assume the same happens with players though? I'm using Dynmap's list system, so that's probably issue on that side

@calliecameron
Copy link
Author

Here's the initial state of an even smaller window with a player:

Screenshot from 2024-08-16 17-22-53

I'm not really sure what's happening. I'll file a bug against dynmap.

In the meantime, would it be possible for you to trigger dynmap's resize handler at startup as a workaround?

@calliecameron
Copy link
Author

webbukkit/dynmap#4155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants