Repository navigation
Open the menu at the runs list's full height - #6
Merged
Merged
Conversation
The menu window takes its content's ideal size, and the runs ScrollView only had a max height, so its ideal height didn't follow the rows. The menu opened short and only grew after Settings (min height 520) had made the window taller. The list now measures its rows and uses that height, capped at 400. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The menu opened short on first open (about two and a half runs visible) and only grew to its full height after opening Settings.
The menu window sizes itself to its content's ideal size. The runs
ScrollViewonly had.frame(maxHeight: 400), so its ideal height didn't follow its rows. Settings hasminHeight: 520, which made the window taller, and back on the runs list theScrollViewfilled the space up to 400.The list now measures its content with
onGeometryChangeand usesmin(contentHeight, 400)as its height. A short list also no longer bounces (scrollBounceBehavior(.basedOnSize)).🤖 Generated with Claude Code