Closed mshoho closed 6 months ago
Will need to profile this - since it gets computed style of elements during focusable search
I totally agree.
Will need to profile this - since it gets computed style of elements during focusable search
I have removed the check from acceptElement. The usage that is left should be equivalent to the usage before.
TMP performance gates don't seem unhappy with this change.
When we have a chunk of hidden DOM, it makes sense to just skip it completely instead of walking through it. Also, adjusting two cases of using offsetParent as they were not handling position:fixed properly.