tabs icon indicating copy to clipboard operation
tabs copied to clipboard

Iframes doesn't load to completion when in tab with forceRender

Open tomcanac opened this issue 4 years ago • 2 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

[Edit on CodeSandbox]

Steps to reproduce

Let the first visible chart load fully. Then after a couple seconds, switch to another tab. You can see that the loader is gone but the chart haven't finished to load.

What is expected?

We expect that the charts (that are embeded in frames) loads fully, even without focus

What is actually happening?

When we switch tabs, the iframes stop loading while in background.

Environment Info
rc tabs 11.7.0
React 16.12.0
System mac/linux
Browser chrome latest

We are using rc-tabs through antdesign, but I managed to reproduce the bug with rc-tabs, so I'm reporting it here also. Note we did not had this bug with antdesign 3, it appeared in ant 4.

Apparently, it seems to be working with rc-tabs 10, but it may need to be double checked on your side (did not managed to fully integrate rc-tabs 10 in my codesandbox).

tomcanac avatar Oct 26 '20 14:10 tomcanac

Hi, issue is still present in newest Andtdesign versions, is it possible to have a followup?

tomcanac avatar Apr 21 '21 17:04 tomcanac

I had the same problem. Did you solve it at last?

Environment Info
React 17.0.1
System mac/linux
Browser chrome latest
ant 5.0.1

pgl-g avatar Nov 28 '22 03:11 pgl-g