Overflow check for parent can be inclusive of any of the overflow condition

This issue has been tracked since 2021-05-14.

if (overflowRegex.test(overflow) && overflowRegex.test(overflowX) && overflowRegex.test(overflowY)) {

  • 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
More Details About Repo
Owner Name twobin
Repo Name react-lazyload
Full Name twobin/react-lazyload
Language JavaScript
Created Date 2015-08-07
Updated Date 2022-11-29
Star Count 5639
Watcher Count 52
Fork Count 482
Issue Count 153

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date