Skip to content

Commit e160933

Browse files
committed
Added logic for reflow in get-overflow-ancestors
1 parent 24e0c6e commit e160933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commons/dom/get-visible-child-text-rects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const getVisibleChildTextRects = (node, options = {}) => {
3636
nodeRect,
3737
checkTextRectOutsideNodeBoundingRect
3838
) &&
39-
!cache.get('ruleId')
39+
(!cache.get('ruleId') || cache.get('ruleId') === 'reflow')
4040
) {
4141
return;
4242
}

0 commit comments

Comments
 (0)