Focus traps for dialog and dropdown

This commit is contained in:
Gregory Schier
2023-03-26 23:07:09 -07:00
parent ed70c15ee9
commit 56ce25f953
11 changed files with 169 additions and 71 deletions

View File

@@ -67,6 +67,8 @@ export function Tabs<T>({
className={classnames(
tabListClassName,
'h-md flex items-center overflow-x-auto pb-0.5 hide-scrollbars',
// Give space for button focus states within overflow boundary
'px-2 -mx-2',
)}
>
<HStack space={1} className="flex-shrink-0">