From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com, Thomas Lamprecht <t.lamprecht@proxmox.com>
Subject: applied: [PATCH] widget: grid picker: scroll the selected entry into view on open
Date: Wed, 7 Oct 2026 08:37:57 +0200 [thread overview]
Message-ID: <179135506387.217041.11027036046632248517.b4-ty@b4> (raw)
In-Reply-To: <20261006172617.3125465-1-t.lamprecht@proxmox.com>
On Tue, 06 Oct 2026 19:25:30 +0200, Thomas Lamprecht wrote:
> When a picker opens, its table scrolls its own viewport to the
> selected entry. That only works while the table is limited to the
> picker's height. Since the combobox stopped giving its table the
> pwt-fit class, nothing limits it: as a flex item it keeps its content
> height, so it grows to the height of all rows and the picker's outer
> container scrolls instead. The table then considers every row visible
> and never scrolls. With 30 or more entries, where rows are rendered
> on demand, the selected entry is not even rendered when the dropdown
> tries to focus it, so a picker like the time zone selector always
> opened at the top of the list.
>
> [...]
Applied, thanks!
[1/1] widget: grid picker: scroll the selected entry into view on open
commit: 4791dd9e38846e42866cabff955fce3f69175604
prev parent reply other threads:[~2026-10-07 6:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-06 17:25 [PATCH] widget: grid picker: scroll the selected entry into view on open Thomas Lamprecht
2026-10-07 6:37 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179135506387.217041.11027036046632248517.b4-ty@b4 \
--to=d.csapak@proxmox.com \
--cc=t.lamprecht@proxmox.com \
--cc=yew-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox