octobox/octobox

on hover, only change button of search tag

Open

#2.254 geöffnet am 27. Feb. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (3.737 Stars) (311 Forks)batch import
accessibilitydesignhelp wanted

Beschreibung

💥 Proposal

What feature you'd like to see

When hovering on the selected search query, the current behavior is to change the color of the entire element. (See below)

Screenshot from 2020-02-27 12 34 34

I propose that only the button (the "x" over which the cursor appears in the image above) should produce an action, and not the rest of the element.

Motivation

I just found Octobox recently. This is one of the first things that annoyed me, so I decided to be useful with it :wink:.

Pitch

  • The only action that the current search query element exposes is the button action (removing/clearing the query).
  • Ironically, I only realized that the "click area" extends past the "x" after I opened the issue. Originally, I assumed that the rest of the element did nothing.
  • In my mind, if clicking on the query itself had an action, the action would be to isolate that query and remove all other queries. (See below, where there are multiple queries)

image

Contributor Guide