axe-core icon indicating copy to clipboard operation
axe-core copied to clipboard

refactor(isVisible): clean up function and put different visible checks into their own function

Open straker opened this issue 3 years ago • 0 comments

A precursor to fixing #2806. The isVisible function was starting to get unruly so refactored all the individual checks into their own functions. This will now allow me to more easily create a separate function to check if the element is positionally hidden inside an overflow: hidden parent.

The diff is messed up since I moved the default function up to the top.

straker avatar Jan 14 '22 18:01 straker