Skip to content

Commit bcf23dd

Browse files
authored
fix(stepper-item): remove delay in highlighting item (#8996)
**Related Issue:** #6482 ## Summary Removed delay in highlighting a stepper item.
1 parent 1280ec7 commit bcf23dd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/calcite-components/src/components/stepper-item/stepper-item.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
grid-row: items;
265265

266266
&:focus {
267-
@apply focus-outset;
267+
@apply focus-outset duration-0;
268268
}
269269
}
270270

@@ -276,6 +276,12 @@
276276
}
277277
}
278278

279+
:host([layout="vertical"]) {
280+
.stepper-item-header:focus {
281+
@apply duration-0;
282+
}
283+
}
284+
279285
:host([layout="horizontal"][disabled]),
280286
:host([layout="horizontal-single"][disabled]) {
281287
.stepper-item-header {

0 commit comments

Comments
 (0)