fix(SW-2170): add outline for chip for keyboard focus

add nonmodal prop to booking code rates dropdown to ensure booking widgets stays sticky when opened
This commit is contained in:
Christian Andolf
2025-05-22 16:28:58 +02:00
parent e6963cd110
commit 16efce3a43
2 changed files with 7 additions and 1 deletions

View File

@@ -68,7 +68,7 @@ export default function BookingCodeFilter() {
/>
</ChipButton>
{displayAsPopover ? (
<Popover placement="bottom end">
<Popover placement="bottom end" isNonModal>
<Dialog className={styles.dialog}>
{({ close }) => {
function handleChangeFilterValue(value: string) {

View File

@@ -29,3 +29,9 @@
.Outlined:active {
border-color: var(--Border-Interactive-Selected);
}
.Default:focus,
.Outlined:focus {
outline-offset: 4px;
outline-color: var(--Border-Interactive-Focus);
}