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
package/dist/esm/index.js
CHANGED
|
@@ -9534,7 +9534,7 @@ function useFocusLock(active, header, body) {
|
|
|
9534
9534
|
var _rootNode$current;
|
|
9535
9535
|
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) {
|
|
9536
9536
|
var style = window.getComputedStyle(element);
|
|
9537
|
-
return element instanceof HTMLElement && style.display !== 'none' && style.visibility !== 'hidden';
|
|
9537
|
+
return element instanceof HTMLElement && style.display !== 'none' && style.visibility !== 'hidden' && !element.hasAttribute('disabled');
|
|
9538
9538
|
});
|
|
9539
9539
|
};
|
|
9540
9540
|
useEffect(function () {
|