code-charity / code-charity/youtube
🐞Issues with resizing when comments is in sidebar
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 996
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
Concise Description
Sides of video may be cut off when comments section is set to sidebar and browser window is smaller than can accommodate player size.
Can be caused by snapping browser window to full-screen then half-screen.
Can be fixed by enabling theatre mode before making browser window smaller, then disabling theatre mode.
Is not fixed by changing browser zoom.
Can be fixed by disabling and re-enabling sidebar comments.
Is not consistent.
Browser/s
Firefox
Other Browser:
No response
'Steps to reproduce' - Which of our features is required for the bug to happen?
Enable sidebar comments. Resize browser window to be smaller than can accommodate player's current size. Bug can occur whether sidebar is set to left or right sides.
Since when?
At least 14/6/26
Does the bug still happen when you log out of YouTube?
None
..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)
No response
Are any errors or related log-messages shown in the Browser-Console? (F12)
No response
Tested as the only active extension? (incognito mode or another browser users):
None
Expected preferred behavior:
No response
ImprovedTube Version
No response
Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)
No response
Your YouTube-Document
No response
OS / Device:
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with sidebar comments enabled in Firefox, then resize or snap the browser below the player's current size with the sidebar on either side. Trace the sidebar and player resizing behavior; done means the full video remains visible and the layout recovers consistently without toggling theatre mode or the sidebar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100