From e0f9282ab19e917d02d0bde7aa0cf3a0cf042016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:57:27 +0300 Subject: [PATCH] Revert "Fix #14691 DomHandler.getFocusableElements returns visible elements" --- src/app/components/dom/domhandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/dom/domhandler.ts b/src/app/components/dom/domhandler.ts index b6cc466f401..f57abf9de9d 100755 --- a/src/app/components/dom/domhandler.ts +++ b/src/app/components/dom/domhandler.ts @@ -630,7 +630,7 @@ export class DomHandler { let visibleFocusableElements = []; for (let focusableElement of focusableElements) { - if (this.isVisible(focusableElement) && focusableElement.getComputedStyle(focusableElement).display != 'none' && getComputedStyle(focusableElement).visibility != 'hidden') visibleFocusableElements.push(focusableElement); + if (getComputedStyle(focusableElement).display != 'none' && getComputedStyle(focusableElement).visibility != 'hidden') visibleFocusableElements.push(focusableElement); } return visibleFocusableElements;