Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(panel, flow-item): hide focus-outline when scrolling via mouse to align with browsers #10242

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions packages/calcite-components/src/components/panel/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,13 @@
}

.container {
@apply focus-base relative bg-background m-0 flex w-full flex-auto flex-col items-stretch p-0;
@apply relative bg-background m-0 flex w-full flex-auto flex-col items-stretch p-0;

transition:
max-block-size var(--calcite-animation-timing),
inline-size var(--calcite-animation-timing);
}

.container:focus {
@apply focus-inset;
}

.container[hidden] {
@apply hidden;
}
Expand Down Expand Up @@ -164,6 +160,7 @@
flex-auto
flex-col
flex-nowrap
focus-base
items-stretch
bg-background
overflow-auto
Expand All @@ -173,7 +170,7 @@
padding: var(--calcite-panel-content-space, 0);
}

.content-wrapper:focus {
.content-wrapper:focus-visible {
@apply focus-inset;
}

Expand Down
Loading