google-gemini / google-gemini/gemini-cli

Rendering glitch with nested scrollbars and wrapped lines

Open
#24,768 2 comments 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/core effort/medium kind/bug priority/p2 status/bot-triaged type/bug
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### Rendering glitch with nested scrollbars and wrapped lines

**What happened?**
When the CLI renders output with nested scrollbars (e.g., inside a tool call box) and wrapped lines, the content occasionally breaks out of the bordered box on the right side. This is particularly noticeable when a vertical scrollbar is present.

**What did you expect to happen?**
The content should be correctly contained within the bordered box, accounting for the scrollbar width and proper wrapping boundaries.

**Client information**

Client Information

- **Version**: 0.36.0-nightly.20260317.2f90b4653
- **OS**: darwin (macOS)
- **Date**: Monday, April 6, 2026

**Anything else we need to know?**
The following image shows a `WriteFile` tool output where the wrapped markdown text is breaking the right border of the containing box.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.