[BUG] Desktop (Code tab): "Allow once" stays disabled on a long new-session approval card until I scroll to the top and back down
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
In the Claude desktop app (Code tab), when Claude asks to start a new session and the brief is long, the approval card appears already scrolled to the bottom. "Allow once" is greyed out and the hint reads "请滚动到末尾以允许此操作" ("Scroll to the end to allow this action").
Scrolling to the very bottom and expanding every collapsed section does not enable the button. It only becomes enabled after I scroll all the way to the top and then back down to the bottom.
The hint asks for something I have already done, and nothing on screen says I need to go back to the top first. This happens every time the brief is long.
What Should Happen?
Any one of these would fix it:
- The card opens scrolled to the top.
- The hint says which step is still missing, e.g. "Scroll to the top first".
- Reaching the bottom is enough to enable the button.
Error Messages/Logs
Steps to Reproduce
- Open the Claude desktop app on macOS and go to the Code tab.
- Have Claude start a new session with a long brief (long enough that the approval card needs scrolling).
- The approval card appears already scrolled to the bottom. "Allow once" is greyed out, with the hint "请滚动到末尾以允许此操作" ("Scroll to the end to allow this action").
- Scroll to the very bottom and expand every collapsed section. The button stays disabled.
- Scroll all the way to the top, then back to the bottom. The button becomes enabled.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.332 (Claude Code); Claude desktop app 7.37095.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
- Claude desktop app 7.37095.0, macOS 26.5.2 (25F84), interface language: Simplified Chinese.
- This is the desktop app's Code tab, not a terminal, so the Terminal/Shell field above does not really apply.
- Possibly related: #107441 (permission prompt buttons stay disabled with the same "scroll to the end" hint). The workaround above (scroll to the top first, then to the bottom) may be worth trying there too.
Same behaviour here on the same app version, with the English interface.
- Claude desktop app 7.37095.0, macOS 26.6.2, Code tab. Hint text: "Scroll to the end to allow this."
- On a session-start approval card with a long brief, "Allow once" was still greyed out with the brief scrolled to its last line and the buttons in view.
- I have to wheel up and down, sometimes many times, until it unlocks. The hint never says what is still missing.
The card was taller than the visible transcript area when it appeared (3840 x 2400 display, app window nearly full screen), so its heading was off screen above and Deny / Allow once started partly hidden behind the "Needs your input" pill.
Possible cause, from reading the shipped JavaScript with Claude (it is minified, so this may be wrong): the button waits on more than the brief's scroll position. The brief's last line has to be on screen while the brief is at its end, and in card mode the card's heading also has to have been on screen. The same right-aligned hint is shown whichever one is missing. A card that opens taller than the view, pinned to its bottom, has never shown its heading, which would explain why scrolling to the top and back works.