Stale IntersectionObserver entries abort callbacks for active observers
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
The IntersectionObserver manager explicitly tolerates stale native entries when an observer is disconnected between commit and mount. However, encountering one missing registration returns from the entire notification pass, dropping every later entry and callback in the same native batch, including entries for still-active observers.
Expected behavior
A stale entry for a disconnected observer should be ignored while notification continues for all active observers in the batch, matching the equivalent ResizeObserver handling.
React Native Version
0.87.1 and current main
Affected Platforms
New Architecture - All
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
IntersectionObserver マネージャーの通知パスから始め、古いエントリの処理を、issue で言及されている ResizeObserver の同等の処理と比較します。切断されたオブザーバーに続いてアクティブなオブザーバーが含まれるバッチを再現または調査し、古いエントリが無視され、その後のアクティブなコールバックが引き続き実行されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, react-native
- 領域
- mobile-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 68/100