Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#325 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

index.js の CodeSandbox reproduction から始め、タブを切り替える際に rc-tabs 11.7.0 が forceRender をどのように処理するかを調べます。報告で提案されているとおり、動作を rc-tabs 10 と比較し、その後 macOS または Linux の Chrome で、埋め込みグラフがそのタブにフォーカスがない状態でも最後まで読み込みを続けることを確認します。

索引モデルが issue の本文から書いたものです。

説明

  • 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).

主要言語
TypeScript
スター
572
フォーク
241
平均マージ
4日 18時間
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-component/tabs のほかの issue

react-component/tabs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。