diff --git a/pages/popover/text-wrap.page.tsx b/pages/popover/text-wrap.page.tsx index 1e21a81c90..e46a4b7bb1 100644 --- a/pages/popover/text-wrap.page.tsx +++ b/pages/popover/text-wrap.page.tsx @@ -26,6 +26,7 @@ const triggerPermutations = createPermutations { - if (triggerType === 'text') { + if (['text', 'text-inline'].includes(triggerType)) { triggerRef.current?.focus(); } else { triggerRef.current && getFirstFocusable(triggerRef.current)?.focus(); @@ -198,7 +198,7 @@ function InternalPopover( }); }} > - {triggerType === 'text' ? ( + {['text', 'text-inline'].includes(triggerType) ? (