Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Chrome focus issue #1

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/Internal/Model.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down