@@ -957,7 +957,11 @@ textHelper textInput attrs textOptions =
957957 identity
958958 )
959959 [ Element.width Element.fill
960− , Internal.htmlClass classes.focusedWithin
960+ , if List.any hasFocusStyle withDefaults then
961+ Internal.NoAttribute
962+
963+ else
964+ Internal.htmlClass classes.focusedWithin
961965 , Internal.htmlClass classes.inputMultilineWrapper
962966 ]
963967 ++ redistributed.parent
@@ -1005,7 +1009,12 @@ textHelper textInput attrs textOptions =
10051009 Internal.asEl
10061010 Internal.div
10071011 (Element.width Element.fill
1008− :: Internal.htmlClass classes.focusedWithin
1012+ :: (if List.any hasFocusStyle withDefaults then
1013+ Internal.NoAttribute
1014+
1015+ else
1016+ Internal.htmlClass classes.focusedWithin
1017+ )
10091018 :: List.concat
10101019 [ redistributed.parent
10111020 , case textOptions.placeholder of