Skip to content

A popup shows a scroll bar while it grows to taller content #883

Closed

Description

@M4n0x

What happens

When a popup's content gets taller while it's open, a vertical scroll bar flashes on the popup until its height has caught up, although everything fits. In the Sound popup, clicking the chevron next to Sound to show the outputs does it every time. Switching a popup to a taller view does the same.

Steps to reproduce

  1. Use a bar with the Sound widget (the starter configuration has one) on a Mac with more than one sound output.
  2. Click the Sound widget to open its popup.
  3. Click the chevron next to Sound to show the outputs.

Expected

The popup grows to show the outputs without a scroll bar. A scroll bar belongs only to a popup taller than the screen allows.

Environment

  • StableBar main at 5b27e77; the Sound popup's device lists shipped in v0.19.0-beta.20261120134742.1500, and popup views animate their height since v0.17.0
  • macOS 27.2.1, two displays, scroll bars set to Automatic (trackpad)

Evidence

An offscreen test that switches a popup to a taller view sampled its outer NSScrollView while the height animated: the visible height went 48 → 59 → … → 107 → 110 pt against a 110 pt document, with hasVerticalScroller on and the scroller not hidden throughout.

Diagnosis

WidgetPopup.open (Sources/StableBar/Popups/WidgetPopup.swift) resizes a popup when PopupHeightPreference reports a new content height. resize grows the window first, then animates PopupSize.height, which PopupCanvas (Sources/StableBar/Popups/PopupPanels.swift) gives the popup as its frame height. The content already has its new height, so for the length of the animation the ScrollView in PopupView (Sources/StableBar/Popups/PopupView.swift) is shorter than its content and shows its scroll bar. The Sound popup animates its height (EssentialsPopup.popup), as does every popup with views.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Nov 20, 2026
  2. added a commit that references this issue on Nov 24, 2026
    edb3344
  3. stablebar-releases commented on Nov 25, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.19.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions