From 0ae427e1054d5ac8e52d8f5b0ca2f9720ec70364 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 19 Aug 2024 11:43:02 +0200 Subject: [PATCH 1/2] Fix Chrome focus issue This applies https://github.com/mdgriffith/elm-ui/pull/362 Conflicts: src/Internal/Model.elm --- src/Internal/Model.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Internal/Model.elm b/src/Internal/Model.elm index e1c206c..4dde919 100644 --- a/src/Internal/Model.elm +++ b/src/Internal/Model.elm @@ -2242,7 +2242,7 @@ renderFocusStyle focus = , Just <| Property "outline" "none" ] ) - , Style (Internal.Style.dot classes.any ++ ":focus .focusable, " ++ Internal.Style.dot classes.any ++ ".focusable:focus") + , Style ("label" ++ Internal.Style.dot classes.any ++ ":focus .focusable, " ++ Internal.Style.dot classes.any ++ ".focusable:focus") (List.filterMap identity [ Maybe.map (\color -> Property "border-color" (formatColor color)) focus.borderColor , Maybe.map (\color -> Property "background-color" (formatColor color)) focus.backgroundColor From 829114f479b272ab1fcd9021953b729cdd3aeacd Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Wed, 5 Feb 2025 16:14:19 +0100 Subject: [PATCH 2/2] Update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7d8b396..510a506 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,4 @@ This is a fork of [elm-ui](https://github.com/mdgriffith/elm-ui) specifically fo Some facts about the fork: - Based on elm-ui 1.1.7 +- Merged Chrome focus fix: https://github.com/mdgriffith/elm-ui/pull/362