Skip to content

Commit

Permalink
#6320 Do not keep buttons focused after click
Browse files Browse the repository at this point in the history
Fixes #6320
  • Loading branch information
novikov82 committed Dec 24, 2024
1 parent 86078d6 commit 40756b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/survey-creator-core/src/components/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ svc-page {
}
//hovered and focused state
&:hover,
&:focus {
&:focus-visible {
background-color: var(--ctr-survey-page-toolbar-item-background-color-hovered, $background-dim);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/survey-creator-core/src/components/question.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ svc-question,
background-color: transparent;

&:hover,
&:focus {
&:focus-visible {
opacity: initial;
background-color: var(--ctr-survey-question-panel-toolbar-item-background-color-hovered, $background-dim);
}
Expand Down

0 comments on commit 40756b8

Please sign in to comment.