twobin / react-lazyload

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

React Lazy Load element hangs with placeholder (last update issue) #273

Open Sanyaorg opened 4 years ago

Sanyaorg commented 4 years ago

Hi guys, There is an issue with react-lazyload library after latest update. Element just hangs and shows placeholder and doesn't respond on scrolling. Roll back to 2.6.2 works fine

ascifres commented 4 years ago

Does this issue happen in all browsers? I've seen this in IE but not Chrome/Firefox/Safari.

Sanyaorg commented 4 years ago

Does this issue happen in all browsers? I've seen this in IE but not Chrome/Firefox/Safari.

It has happened in Chrome/Firefox for me. Not sure about Safari. Thanks

Rleit commented 4 years ago

Same problem here.

My case is creating Table rows and lazy loading them. On mount browser hangs.

egemon commented 4 years ago

Same for me with SSR

afrazahmad21 commented 4 years ago

hey guyz, I am facing similar issue, is there any update on this

franknoel commented 4 years ago

Did any of you found a solution? I'm having the same problem and it seems like a major bug.

ameerthehacker commented 4 years ago

@frankn11 we fixed this in the lates version, also please try the beta version which also has a potential fix

franknoel commented 4 years ago

I managed to fix my issue on my end. For some reason, the overflow property on my first component was freezing the other unloaded Lazyload components of my page. I did try the beta but it had no effect.

ameerthehacker commented 4 years ago

@frankn11 can you provide a codesandbox link which replicates your issue

angryLx commented 3 years ago

Does this issue happen in all browsers? I've seen this in IE but not Chrome/Firefox/Safari.

in IE,did you resolve this question?