Skip to content

Commit

Permalink
Merge pull request #9102 from surveyjs/issue/9086-Matrix-question-rad…
Browse files Browse the repository at this point in the history
…io-button-has-no-inner-circle-when-focused

#9086 Matrix question radio button has no inner circle when focused
  • Loading branch information
andrewtelnov authored Nov 25, 2024
2 parents 6bf0edc + 19b8bd9 commit d6317e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions packages/survey-core/src/defaultV2-theme/blocks/sd-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@
&.sd-item--preview.sd-item--preview .sd-item__decorator {
background-color: transparent;
}
&.sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after {
background-color: $primary-foreground;
}
}
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions visualRegressionTests/tests/defaultV2/matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1032,12 +1032,9 @@ frameworks.forEach(framework => {
await t.click(Selector(".sd-navigation__complete-btn"));
await resetFocusToBody();
await takeElementScreenshot("question-matrix-alternate-rows-invalid-value.png", rowElement, t, comparer);

await ClientFunction(() => {
(window as any).survey.getAllQuestions()[0].value = { "Row 1": "Column 1" };
document.body.focus();
})();

await t.click(Selector("input"));
await takeElementScreenshot("question-matrix-alternate-rows-selected-focused.png", rowElement, t, comparer);
await resetFocusToBody();
await takeElementScreenshot("question-matrix-alternate-rows-selected-value.png", rowElement, t, comparer);
});
});
Expand Down

0 comments on commit d6317e0

Please sign in to comment.