destroyPopupOnHide doesn't remove container

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

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

評価

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

調査の方向性

まず rc-trigger と destroyPopupOnHide で問題を再現し、次にポップアップコンテナのライフサイクルを調査します。非表示のポップアップ用に作成されたコンテナがドキュメント内に残るかどうかを確認します。生成されたコンテナが削除されるか、サポートされた手動コンテナオプションが提供され、その動作がテストでカバーされれば完了です。

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

説明

I have a website where I am using Ant Design a lot and there are a few pages where so many popups and tooltips are used. Some of them are static text, some are dynamic. So I am using destroyTooltipOnHide and similar methods. But It seems that even after using destroyTooltipOnHide doesn't remove the entire content. Because rc-trigger is creating containers on every item and they are not destroyed at all. So it's leaving a lot of these

<div style="position: absolute; top: 0px; left: 0px; width: 100%;"><div></div></div>

even after destroyPopupOnHide. There should be a way to pass either the container manually or it should destroy these containers as well.

主要言語
TypeScript
スター
391
フォーク
245
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

react-component/trigger のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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