react-lazyload
react-lazyload copied to clipboard
I think this, it should be || not &&. What do you think?
trafficstars
https://github.com/twobin/react-lazyload/blob/573448e581c50d7996bc61195682de0b7a80f5f4/src/utils/scrollParent.js#L30
Don't people think the same as me?
@little-buddy can you please elaborate more on why you think so?
@ameerthehacker I think in some scenarios, as long as the scroll meets one of the vertical or horizontal conditions,
it can be called the container of lazaload, ex, only vertical or only horizontal.
if my scrollParent only vertical,what can I do?