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

TOC not showing after window resize #2132

Closed
1 task done
GerardGascon opened this issue Dec 18, 2024 · 4 comments · Fixed by #2139
Closed
1 task done

TOC not showing after window resize #2132

GerardGascon opened this issue Dec 18, 2024 · 4 comments · Fixed by #2139
Labels
bug Something isn't working released Included or resolved in the release

Comments

@GerardGascon
Copy link

Checklist

How did you create the site?

Generated from chirpy-starter

Describe the bug

When resizing the window from a narrow width to a wider width the TOC disappears.

Steps To Reproduce

  1. Load the website at a window width such that the TOC is using the mobile version.
  2. Extend the width of the screen.

Expected Behavior

You should see the TOC appear on the side, but instead it disappears.

Environment

  • Just using the example page

Anything else?

In the video you can see how I refresh the website with a narrow screen size and when making it wider, the TOC disappear.

2024-12-18.12-25-19.mp4
@SoumyaK4
Copy link

SoumyaK4 commented Dec 18, 2024

What Version are you using @GerardGascon ?
Works perfectly fine for multiple projects I have.
I even tested with the specefic resolution in your example video but its working fine in the latest v7.2.3

@GerardGascon
Copy link
Author

I'm using the Chirpy sample page (https://chirpy.cotes.page/posts/getting-started/) with version 7.2.3
Note that the page must be loaded with the TOC already hidden so that when making the screen wider it doesn't show up on the side. If you load the page with the sidebar visible it doesn't work.

@SoumyaK4
Copy link

SoumyaK4 commented Dec 18, 2024

@GerardGascon I see, thanks for reporting <3
Otherwise I wouldn't know and my readers would have a bad experience

@cotes2020 cotes2020 added the bug Something isn't working label Dec 20, 2024
@cotes2020 cotes2020 linked a pull request Dec 21, 2024 that will close this issue
1 task
Copy link

🎉 This issue has been resolved in version 7.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Included or resolved in the release label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Included or resolved in the release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants