You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should have never been be applied to the global HTML button element. It should be scoped to Materialize, so it should be applied to the .btn class instead - otherwise it bleeds to unintended parts of the application.
Solution
Remove this implementation from _forms.scss and let _button.scss do it's thing.
Environment
Version used: 1.0.0
The text was updated successfully, but these errors were encountered:
rodrigovallades
changed the title
components/forms/_forms.scss styles HTML button element
fix: materialize :focus stule in HTML button element
Aug 17, 2022
rodrigovallades
changed the title
fix: materialize :focus stule in HTML button element
fix: materialize :focus style in HTML button element
Aug 17, 2022
rodrigovallades
changed the title
fix: materialize :focus style in HTML button element
fix: materialize :focus in button element
Aug 17, 2022
rodrigovallades
changed the title
fix: materialize :focus in button element
sass/components/forms/_forms.scss should not style HTML button element
Aug 17, 2022
rodrigovallades
changed the title
sass/components/forms/_forms.scss should not style HTML button element
sass/components/forms/_forms.scss should not style global button element
Aug 17, 2022
rodrigovallades
changed the title
sass/components/forms/_forms.scss should not style global button element
_forms.scss should not style global button element
Aug 17, 2022
Current Behavior
sass/components/forms/_forms.scss applies a global
button:focus
background-color
.This makes no sense at all. We have 3 problems here:
_forms.scss
and not_buttons.scss
?:focus
statebutton
element. It should be scoped toMaterialize
, so it should be applied to the.btn
class instead - otherwise it bleeds to unintended parts of the application.Solution
Remove this implementation from
_forms.scss
and let_button.scss
do it's thing.Environment
Version used: 1.0.0
The text was updated successfully, but these errors were encountered: