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

Sidebar empty when default #14

Open
bartbutenaers opened this issue Feb 4, 2023 · 1 comment
Open

Sidebar empty when default #14

bartbutenaers opened this issue Feb 4, 2023 · 1 comment

Comments

@bartbutenaers
Copy link

Hi @ralphwetzel,

This sidebar is empty when it is the default sidebar:

image

Steps to reproduce:

  1. Select your sidebar so it becomes visible.
  2. Refresh the browser window.
  3. Now your sidebar will be loaded first, and will be empty.
  4. Click on another sidebar and back on yours, then your content will be loaded correctly.

Which means your content will only be loaded if there is a tab switch.

As said on Discourse this is not a big issue, since step 4 is a workaround.

Thanks!!

Bart

@bartbutenaers
Copy link
Author

Seem to be enough that you just manually make the sidebar a bit wider, then it is already fine.
So I assume you need to call resize_sidebar immediately when your sidebar is created.

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

1 participant