Overflow check for parent can be inclusive of any of the overflow condition
rajatkb-typito opened this issue · 0 comments
rajatkb-typito commented
react-lazyload/src/utils/scrollParent.js
Line 30 in 0554051
- When using the
overflow:true
props it did not pick the correct parent and hence was not giving the desired effect. - Since I was restricting the overflow on x axis and
scroll
on y axis the parent was ignored. - We can use
or condition
to enable detection of any parent that has an overflow