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:
@@ -68,7 +68,7 @@ export default function BookingCodeFilter() {
|
|||||||
/>
|
/>
|
||||||
</ChipButton>
|
</ChipButton>
|
||||||
{displayAsPopover ? (
|
{displayAsPopover ? (
|
||||||
<Popover placement="bottom end">
|
<Popover placement="bottom end" isNonModal>
|
||||||
<Dialog className={styles.dialog}>
|
<Dialog className={styles.dialog}>
|
||||||
{({ close }) => {
|
{({ close }) => {
|
||||||
function handleChangeFilterValue(value: string) {
|
function handleChangeFilterValue(value: string) {
|
||||||
|
|||||||
@@ -29,3 +29,9 @@
|
|||||||
.Outlined:active {
|
.Outlined:active {
|
||||||
border-color: var(--Border-Interactive-Selected);
|
border-color: var(--Border-Interactive-Selected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Default:focus,
|
||||||
|
.Outlined:focus {
|
||||||
|
outline-offset: 4px;
|
||||||
|
outline-color: var(--Border-Interactive-Focus);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user