Skip to content

Commit 41e56e0

Browse files
committed
maint(Tests): Update is_visible mock to latest code changes - hidden is not set anymore due to form validation incompatibilities with Chrome.
1 parent fdaea14 commit 41e56e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setup-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ logging.setLevel(50);
1212
// simply on el.hidden.
1313
import dom from "./core/dom";
1414
dom.is_visible = (el) => {
15-
return !el.hidden;
15+
return !el.hidden && el.style.display !== "none";
1616
};

0 commit comments

Comments
 (0)