Enhancement: Unnecessary Vertical Scrollbar Appears on https://json-schema.org/docs
On the https://json-schema.org/docs page of the JSON Schema website.
Issue:
When opening pages like the one shown in the attached screenshot, the left sidebar (Reference section) and the right side of the viewport both show visible vertical scrollbars, the page doesn’t initially fit within the viewport, so the appearance of the scrollbar is expected and justified. However, my intention is to allow scrolling behavior without showing the visible scrollbar, in order to enhance the visual polish of the UI — especially in dark mode.
Goal:
The goal is to retain the scrolling functionality while hiding the scrollbars, creating a smoother and cleaner appearance
Before
After
Are you working on this issue?
Yes
Does this PR introduce a breaking change?
No
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines.
Welcome to the JSON Schema Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look at our contributors guide if you plan on opening a pull request. For more details, check out the README.md file.
Hey @DhairyaMajmudar , kindly have a look over this issue, and if approved then please assign this to me. Thank you 🚀
Hey @Deepak-cell311, I hope you're doing well. I understand that contributing to a project can be really exciting, and it's great to see your enthusiasm in creating issues or pull requests. However, I kindly request that you avoid tagging others unnecessarily unless it's truly important, as everyone has their own responsibilities and workload. Also, please note that if there’s no activity on this issue for a certain period of time, it may either be closed automatically or reviewed by a maintainer accordingly.
Thanks for your understanding and contributions!
Hey @Deepak-cell311 , can you elaborate a bit more about the issue? If I am not wrong, the page which you mentioned doesn't gets fit initially within the viewport, so I think a scrollbar is justifying this case.
Hey @Deepak-cell311 , can you elaborate a bit more about the issue? If I am not wrong, the page which you mentioned doesn't gets fit initially within the viewport, so I think a scrollbar is justifying this case.
Yes, you're absolutely right — the page doesn't initially fit within the viewport, so the scrollbar appears as expected. However, my intention is to hide the scrollbar while still allowing the scrolling behavior to work.
Got it. So I think you need to modify your issue description first because it isn't clear enough. Also before raising a PR, please wait and let maintainers assign this issue to you.
Got it. So I think you need to modify your issue description first because it isn't clear enough. Also before raising a PR, please wait and let maintainers assign this issue to you.
Thank you for correction and feedback.
@Deepak-cell311 please go ahead with the changes.
@Deepak-cell311 are you still working on this if not I would love to fix this issue
thanks for the reply, @Utkarsh-123github could you assign this issue to me I would like to fix it.
Hey @animeshsahoo1 , for this issue @Deepak-cell311 has already raised a PR and I have requested some small changes there.
@Deepak-cell311 are you still available to work on your previous PR ??
I think @Deepak-cell311 is unable to work on it for some reason, If he doesn't intend to go through his PR, I can drop a PR with the requested changes, let me know what's decided.
Hey @animeshsahoo1 , for this issue @Deepak-cell311 has already raised a PR and I have requested some small changes there.
@Deepak-cell311 are you still available to work on your previous PR ??
I’d really like to work on it, but at the moment I’m caught up with several other commitments. Please assign this to @animeshsahoo1 for now.
Thank you for the clarification.I'm closing your PR and assigning this issue to @animeshsahoo1 .
@Utkarsh-123github there is similar issue in tools pages as well should I fix it there as well?
Yes, please go ahead. Thank you!