Skip to content

Commit 6676c3e

Browse files
committed
feat: make isVisible more comprehensive (backport from v2)
1 parent 105175b commit 6676c3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/shared/is-visible.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function isStyleVisible(element) {
1818
display !== 'none' &&
1919
visibility !== 'hidden' &&
2020
visibility !== 'collapse' &&
21-
opacity !== '0'
21+
opacity !== '0' &&
22+
opacity !== 0
2223
)
2324
}
2425

0 commit comments

Comments
 (0)