Skip to content

rune-kit scroll bar: a wheel over the track doesn't scroll its viewport #1200

Closed

Description

@thdxr

the overlay scroll bar sits over the viewport's right edge (14 pt wide, scroll-bar in rune-kit/src/scroll_bar.rs), and a wheel there does nothing. the track is the topmost wheel hit, its ancestors are the outer column, and the viewport is its sibling, so wheel_target walks up from the track and finds no scroller. every scroll view in an app loses wheel scrolling over its rightmost 14 points.

before the scroll bar (added 2026-11-03) this scrolled, and chromium scrolls a page from over its scrollbar too.

repro: a viewport with more content than it shows, wrapped with .scroll_bar(&k), then rt.wheel(x, y, -dy) at the track's x. hex hits it in rune_ui::tests::the_wheel_scrolls_a_long_term_list: the list is [156, 121.5, 588, 294], the track [730, 123.5, 14, 290], and a wheel at x = 736 leaves row0 where it is while x = 157 and 196 scroll it.

a wheel over the track should chain to the viewport the bar follows (as the transparent area beyond the thumb already belongs to the viewport for presses), while a press or drag there keeps its track and thumb behavior.

— from 𝕆𝕡𝕖𝕟𝕮𝖔𝖉𝖊

Activity

  1. added a commit that references this issue on Nov 19, 2026
    431469b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions