public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit 1/2] widget: search dropdown: enable hovering style
Date: Thu, 18 Jun 2026 16:44:17 +0200	[thread overview]
Message-ID: <20260618144425.3901589-1-d.csapak@proxmox.com> (raw)

otherwise it's harder to see which element is under the cursor

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 src/widget/search_dropdown.rs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/widget/search_dropdown.rs b/src/widget/search_dropdown.rs
index 71ce1ab..264e4e1 100644
--- a/src/widget/search_dropdown.rs
+++ b/src/widget/search_dropdown.rs
@@ -145,6 +145,7 @@ impl<S: DataStore + 'static> SearchDropdown<S> {
                 DataTable::new(columns, args.store.clone())
                     .max_height(CssLength::Em(20.0))
                     .show_header(false)
+                    .hover(true)
                     .on_row_click({
                         let args = args.clone();
                         move |event: &mut DataTableMouseEvent| {
@@ -179,6 +180,7 @@ impl<S: DataStore + 'static> SearchDropdown<S> {
                 DataTable::new(columns.clone(), args.store.clone())
                     .max_height(CssLength::Em(20.0))
                     .header_focusable(false)
+                    .hover(true)
                     .on_row_click({
                         let args = args.clone();
                         move |event: &mut DataTableMouseEvent| {
-- 
2.47.3





             reply	other threads:[~2026-06-18 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-18 14:44 Dominik Csapak [this message]
2026-06-18 14:44 ` [PATCH yew-widget-toolkit 2/2] widget: selector: don't autoselect or set to default more than once Dominik Csapak
2026-06-19  4:59   ` applied: " Dietmar Maurer
2026-06-19  4:59 ` applied: [PATCH yew-widget-toolkit 1/2] widget: search dropdown: enable hovering style Dietmar Maurer

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=20260618144425.3901589-1-d.csapak@proxmox.com \
    --to=d.csapak@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal