diff --git a/ui/components/data-tables/inline-edit/_index.scss b/ui/components/data-tables/inline-edit/_index.scss index 3dbfafd910..17ab9c70a4 100644 --- a/ui/components/data-tables/inline-edit/_index.scss +++ b/ui/components/data-tables/inline-edit/_index.scss @@ -156,7 +156,7 @@ * @selector .slds-cell-edit * @restrict .slds-table_edit th, .slds-table_edit td */ -.slds-cell-edit { +.slds-table .slds-cell-edit { outline: 0; // @TODO: This came from `has-focus` (watch for overreaching) &.slds-has-focus { // This is the focused state diff --git a/ui/components/data-tables/inline-edit/example.jsx b/ui/components/data-tables/inline-edit/example.jsx index 9053e23fe2..a15bd83c37 100644 --- a/ui/components/data-tables/inline-edit/example.jsx +++ b/ui/components/data-tables/inline-edit/example.jsx @@ -321,6 +321,35 @@ export let states = [ ) }, + { + id: 'row-selected-with-edited-cell', + label: 'Row Selected with an Edited Cell', + element: ( + + + + + {_.times(rows.length, i => ( + + ))} + +
+
+ ) + }, { id: 'row-error', label: 'Error - Row level on save (Actionable mode)', @@ -354,6 +383,37 @@ export let states = [ document.getElementById('button-01').focus() ` }, + { + id: 'row-error-and-selected', + label: + 'Error - Row level on save (Actionable mode) with entire row selected', + element: ( + + + + + {_.times(rows.length, i => ( + + ))} + +
+
+ ) + }, { id: 'row-error-focused', label: 'Error indicator - Focused (Actionable mode)',