Skip to content

Show long text in popups that wraps, scrolls and can be copied #264

Closed

Description

@Seb-GRAF

Problem

A field block shows one line (lineLimit(1) in Sources/StableBar/PopupView.swift). A script that returns a paragraph, such as an agent's answer, a note or release notes, is cut after the first line. Popup text can't scroll or be selected, so nothing in a popup can be copied.

Proposal

  • An option on field blocks that wraps the text to the block's width instead of cutting it.
  • Past a maximum height, the block scrolls.
  • The text can be selected and copied.
  • Open question: render Markdown (bold, code, links), since agent answers arrive as Markdown. SwiftUI's Text renders inline Markdown, not headings or code blocks.

Possible today

No. scrollSpeed scrolls a single line sideways. A list block with one row per line comes closest, but long lines are still cut and nothing can be copied.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 23, 2026
  2. stablebar-releases commented on Oct 23, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.7.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

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions