linebender / linebender/druid

Button hot state is not properly shown for children of Scroll

Open
#956 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

This can be seen with the `list` example, especially if the `debug_paint_layout` is turned off. Hover over a button and then scroll a bit. The button should no longer have a white border but it does.

Contributor guide

Open the contributing guide

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.

Research direction

Start with the `list` example and reproduce the issue with `debug_paint_layout` turned off: hover a button, then scroll. Trace how `Scroll` updates hot-state rendering for child buttons; done means the white border disappears after scrolling, with coverage added if the example's tests support it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.