New Webview added to view stack when coming from background
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, javascript, typescript
- 領域
- mobile
調査の方向性
app/main-page.js にあるリンク先の再現アプリから始め、バックグラウンド移行とアプリ再オープンの手順に従って、tns run android を使用してライフサイクルを再現します。アプリがバックグラウンドから復帰したときの Android webview の動作を追跡します。完了条件は、アプリを再オープンしても既存の webview の上に空の webview が追加されないことです。
索引モデルが issue の本文から書いたものです。
説明
I've wrote a small app that has a webview to illustrate the issue: https://github.com/surdu/TestBkg
In the onload method of that webview I have implemented a quick mechanism to change the webview's src only the first time the onload method is called, just to illustrate better the problem.
To reproduce the problem we follow these steps:
- launch the app on Android using
tns run android. We notice the app load NS' website. - put the app in background by pressing the home button
- bring back the app by pressing the app icon on the phone
On the last step is where the problem is: a new blank webview is added on top of the old one (if we press the back button on the phone, the old webview will be revealed).
Now let's consider a second scenario. After completing the above scenario, we kill the app by pressing the Overview button and close our app from there (by swipe or by pressing the X button).
Now, if we replace the step 1 by just opening the app from the phone (NOT by running tns run android) and then go through the same steps, we'll notice that at step 3 the behaviour changes: now we will be correctly presented with the old webview.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
- 主要言語
- TypeScript
- スター
- 25.7k
- フォーク
- 1.7k
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 35
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/NativeScript のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
NativeScript/NativeScript#11068 ·
-
bug-pending-triage
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
NativeScript/NativeScript#11436 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NativeScript/NativeScript#11421 ·
-
bug-pending-triage
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
NativeScript/NativeScript#11415 ·
-
bug-pending-triage
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
NativeScript/NativeScript#11374 ·
NativeScript/NativeScript の issue をすべて見る
似ている issue
-
comp/dashboard P3 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
langchain-ai/deepagents#6450 ·