react-magma-dom 4.7.0-next.17 → 4.7.0-next.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/react-magma-dom.cjs.development.js +1 -1
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -6594,7 +6594,7 @@ function useFocusLock(active, header, body) {
|
|
|
6594
6594
|
var _rootNode$current;
|
|
6595
6595
|
focusableItems.current = Array.from(((_rootNode$current = rootNode.current) == null ? void 0 : _rootNode$current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), video')) || []).filter(function (element) {
|
|
6596
6596
|
var style = window.getComputedStyle(element);
|
|
6597
|
-
return element instanceof HTMLElement && style.display !== 'none' && style.visibility !== 'hidden';
|
|
6597
|
+
return element instanceof HTMLElement && style.display !== 'none' && style.visibility !== 'hidden' && !element.hasAttribute('disabled');
|
|
6598
6598
|
});
|
|
6599
6599
|
};
|
|
6600
6600
|
React.useEffect(function () {
|