mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: modal role
This commit is contained in:
parent
60907cdc4b
commit
6a52c26874
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export function Modal({
|
||||||
}, [onClose]);
|
}, [onClose]);
|
||||||
|
|
||||||
const isTopMostModal = () => {
|
const isTopMostModal = () => {
|
||||||
const openModals = document.querySelectorAll("[role=modal]");
|
const openModals = document.querySelectorAll("[role=dialog]");
|
||||||
|
|
||||||
return (
|
return (
|
||||||
openModals.length &&
|
openModals.length &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue