Skip to content

Commit af55008

Browse files
authored
Merge branch 'next' into ROU-11445-segment
2 parents bc4ff95 + fec23e8 commit af55008

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

core/src/components/checkbox/checkbox.ionic.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,7 @@ input {
380380
// --------------------------------------------------
381381
// Only show the focus ring when the checkbox is focused and not disabled
382382
:host(.ion-focused:not(.checkbox-disabled)) .native-wrapper {
383-
outline: var(--focus-ring-width) globals.$ion-border-style-solid var(--focus-ring-color);
384-
outline-offset: var(--focus-ring-offset);
383+
@include globals.focused-state(var(--focus-ring-width), globals.$ion-border-style-solid, var(--focus-ring-color));
385384
}
386385

387386
// Checkbox: Active

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ export class Checkbox implements ComponentInterface {
212212
'in-item': hostContext('ion-item', el),
213213
'checkbox-checked': checked,
214214
'checkbox-disabled': disabled,
215+
'ion-focusable': true,
215216
'checkbox-indeterminate': indeterminate,
216217
interactive: true,
217218
[`checkbox-justify-${justify}`]: justify !== undefined,
72 Bytes
Loading
65 Bytes
Loading
83 Bytes
Loading

0 commit comments

Comments
 (0)