8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeade99 commit 3226dd0Copy full SHA for 3226dd0
packages/react/src/components/FloatingFocusManager.tsx
@@ -78,7 +78,10 @@ function handleTabIndex(
78
const focusableElements = focusable(floatingFocusElement, options);
79
const tabbableContent = focusableElements.filter((element) => {
80
const dataTabIndex = element.getAttribute('data-tabindex') || '';
81
- return isTabbab 6212 le(element, options) || !dataTabIndex.startsWith('-');
+ return (
82
+ isTabbable(element, options) ||
83
+ (element.hasAttribute('data-tabindex') && !dataTabIndex.startsWith('-'))
84
+ );
85
});
86
const tabIndex = floatingFocusElement.getAttribute('tabindex');
87
0 commit comments