Llama chat webui. bug: scrollbar disappears when the mouse hovers near the top of the code block

Open Beginner friendly
#32,465 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ShubhamRoy123 is already working on this.

Since Nov 19, 2026.

  • #32599 by @ShubhamRoy123 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
css
Domain
frontend

Research direction

Start with the suspected stylesheet, ui/apps/chat/src/apps.css, and inspect the chat code block and prompt field scrollbar hover and transition styles. Reproduce the disappearing scrollbar by hovering near the top of a code block, then check the prompt field as well. Done means the scrollbar stays visible and usable while interacting with those areas.

Written by the indexing model from the issue text.

Description

bug-unconfirmed
Name and Version

--version is a general UX/UI issue, involving recent versions.

Operating systems

No response

Which llama.cpp modules do you know to be affected?

No response

Command line

Problem description & steps to reproduce

Title: Internal Chat Scrollbar Disappears/Vanishes on Hover within Code Blocks

Description of the Issue:
The internal scrollbar within the chat window, specifically when viewing a code block, disappears when the mouse hovers near the top of the block. This makes the scrollbar difficult or impossible to grab and interact with.

Hypothesis/Area of Concern:
I suspect the necessary CSS adjustments might be located in: ui/apps/chat/src/apps.css.
However, since this involves User Experience (UX), I defer to the expert who manages the UX design for the final correction.

Suggested Improvements (Recommendations):

  1. Browser Compatibility: Improve compatibility across various browsers,
    particularly concerning the delay when the mouse moves away from the block.

  2. Size/Width: Implement scrollbar-width: auto or increase the current scrollbar size slightly to improve visibility.

  3. Transparency: Reduce the scrollbar's opacity/transparency.

  4. Transition Delay: When exiting the hover state, increase the fade-out transition time.
    Currently, the scrollbar disappears too abruptly/immediately upon leaving the block.
    A smooth transition delay of 1–2 seconds would be significantly better.

I noticed that the problem also involves the prompt field

First Bad Commit

No response

Relevant log output
Logs

Dominant language
C++
Stars
136k
Forks
26.1k
Avg merge
1d 19h
Merged PRs (30d)
521

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ggml-org/llama.cpp

All issues in ggml-org/llama.cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.