File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
code/Magento/Swatches/view/frontend/web/js
design/frontend/Magento/blank/Magento_Swatches/web/css/source Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,10 @@ define([
840
840
*/
841
841
_Rewind : function ( controls ) {
842
842
controls . find ( 'div[option-id], option[option-id]' ) . removeClass ( 'disabled' ) . removeAttr ( 'disabled' ) ;
843
- controls . find ( 'div[option-empty], option[option-empty]' ) . attr ( 'disabled' , true ) . addClass ( 'disabled' ) ;
843
+ controls . find ( 'div[option-empty], option[option-empty]' )
844
+ . attr ( 'disabled' , true )
845
+ . addClass ( 'disabled' )
846
+ . attr ( 'tabindex' , '-1' ) ;
844
847
} ,
845
848
846
849
/**
Original file line number Diff line number Diff line change 120
120
& .selected {
121
121
.lib-css (background , @attr-swatch-option__selected__background );
122
122
.lib-css (border , @attr-swatch-option__selected__border );
123
- .lib-css (color , @attr-swatch-option__selected__color );
123
+ .lib-css (color , @attr-swatch-option__selected__color );
124
124
}
125
125
}
126
126
}
180
180
}
181
181
182
182
& .disabled {
183
+ box-shadow : unset ;
183
184
cursor : default ;
185
+ pointer-events : none ;
184
186
185
187
& :after {
186
188
// ToDo: improve .lib-background-gradient() to support diagonal gradient
You can’t perform that action at this time.
0 commit comments