Skip to content

Commit 327d29e

Browse files
authored
fix: reset and disable focus ring in combobox search input (#267)
The ring is applied by the default @tailwindcss/forms styling. Fixes: #266
1 parent 848230d commit 327d29e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ruby_ui/combobox/combobox_search_input.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def view_template
1919
def default_attrs
2020
{
2121
type: "search",
22-
class: "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none border-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
22+
class: "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none border-none focus:ring-0 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
2323
role: "searchbox",
2424
placeholder: @placeholder,
2525
data: {

0 commit comments

Comments
 (0)