Hi everyone,
If you’re encountering an issue where the scrollbar is missing in ChatGPT’s project file view or chat interface, you’re not alone — it seems to be caused by containers using overflow-hidden
with no fallback scrolling.
I ran into this myself and found a temporary workaround using a userscript.
Step-by-step Temporary Fix
1. Install Tampermonkey
You’ll need the [Tampermonkey extension](https :// www DOT tampermonkey DOT net) for your browser.
→ (remove the spaces and replace DOT
with .
if links are blocked)
2. Enable Developer Mode in Tampermonkey
To ensure the script updates correctly and runs on dynamic pages, go to:
Tampermonkey Dashboard → Settings → Advanced tab →
Set “Config mode” to Advanced, and make sure “Developer Mode” is enabled.
3. Add the following userscript
Important: In the
@match
line, change
https :// chatgpt DOT com /*
→https://chatgpt.com/*
when pasting.
// ==UserScript==
// @name ChatGPT Scrollbar Fix
// @namespace chatgpt.com
// @version 1.0
// @description Restores missing scrollbar in ChatGPT project/chat views
// @match https :// chatgpt DOT com /*
// @grant none
// ==/UserScript==
(function () {
const fixScrollbars = () => {
document.querySelectorAll('[class*="overflow-hidden"]').forEach(el => {
const rect = el.getBoundingClientRect();
if (rect.height > window.innerHeight * 0.6) {
el.style.overflowY = 'auto';
el.style.maxHeight = '100vh';
}
});
console.log('[✅ Scrollbar fix executed]');
};
setTimeout(fixScrollbars, 1000);
new MutationObserver(fixScrollbars).observe(document.body, {
childList: true,
subtree: true
});
let lastUrl = location.href;
setInterval(() => {
if (location.href !== lastUrl) {
lastUrl = location.href;
setTimeout(fixScrollbars, 800);
}
}, 500);
})();
How it works
- Automatically detects containers with missing scrollbars
- Works on both project pages (
/g/.../project
) and chat threads - Monitors route changes in ChatGPT’s single-page app
- Outputs
[✅ Scrollbar fix executed]
in the browser console for confirmation
If it doesn’t work at first…
If the scrollbar still doesn’t appear after installing, try hitting F5
to refresh once.
After that, the script should work on every navigation automatically.
Hope this helps someone! Let me know if you want a version limited only to project pages, or if you need help tweaking it for other layouts.