Skip to content

Stack picker and preview vertically if too narrow #13430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zqianem
Copy link
Contributor

@zqianem zqianem commented Apr 27, 2025

I couldn't get #7783 to work well for me so I rewrote it.

@pascalkuthe if you're still interested now that #9647 has landed.

I tried @archseer's suggestion but in practice, I didn't like it for shorter terminals that you would still want a vertical picker for because they were also narrow.

Looks like this:
image

At MIN_AREA_HEIGHT_FOR_PREVIEW, four entries are shown:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant