twobin / react-lazyload

Lazy load your component, image or anything matters the performance.
MIT License
5.86k stars 487 forks source link

set scrollport to scrollConatiner if scrollContainer is not a string #261

Open jamesrx opened 4 years ago

jamesrx commented 4 years ago

Fixes issue #260

Allows a DOM node to be passed into the scrollContainer prop