[BUG] Formio dialog and flatpickr are not being destroyed after leaving the builder
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 40/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- angular, typescript
- 領域
- frontend
調査の方向性
Formio builder をホストしている Angular コンポーネントから始め、ログインリダイレクト後にコンポーネントが破棄される際の teardown を追跡します。builder モーダルと flatpickr インスタンスがどのように作成・削除されるかを調べ、その後 Chrome でリダイレクトフローを再現します。builder を離れた後、 の外部に Formio モーダルや flatpickr の HTML が残っていなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Environment
- Hosting type
- [] Form.io
- Local deployment
- Version:
- Formio.js version: 5.2.0
- Frontend framework: Angular 18
- Browser: Chrome
Steps to Reproduce
- Enter in formio builder
- Open a modal (ex: editing a component)
- Leaving the form without closing the modal (In our case, is a login redirection that happens when user becomes inactive)
- Once redirected the modal html keeps displaying while the component shoul've been destroyed.
Expected behavior
All rendered html elements including flatpickr and formio modals should be destroyed once the angular component is destroyed.
Observed behavior
We've observed through an html inspection that both flatpickr and formio-dialog are still present in the html outside the main angular
Example
Modal after redirection (should be destroyed):
Html:
- 主要言語
- TypeScript
- スター
- 706
- フォーク
- 493
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
formio/angular のほかの issue
-
question
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
[BUG] <form-builder> move icon is missing再び着手できるかも @PrathameshHegde が 99 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptions再び着手できるかも @Victoriya25 が 363 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
area: batch
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
inabagumi/shinju-date#7294 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
streaming-video-technology-alliance/common-media-library#700 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vercel-labs/ui#809 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
KrisCris/village-in-the-shade-guide#75 ·
メンテナーはふだん 1 日以内に返信
-
bot:ai-assisted component:platform-js status:untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
midnightntwrk/platform-js#38 ·