Skip to content

Commit

Permalink
feat: make isVisible more comprehensive (backport from v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
IGx89 committed Oct 17, 2022
1 parent 105175b commit 6676c3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shared/is-visible.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ function isStyleVisible(element) {
display !== 'none' &&
visibility !== 'hidden' &&
visibility !== 'collapse' &&
opacity !== '0'
opacity !== '0' &&
opacity !== 0
)
}

Expand Down

0 comments on commit 6676c3e

Please sign in to comment.