Window not gaining focus on app start
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- react-native
- 領域
- accessibility, desktop
調査の方向性
Issue にはソースファイル、テスト、エントリーポイントのいずれも記載されていません。最初のコンポーネントをフォーカス不可にし、フォーカス可能なコントロールを配置した新しい React Native Windows アプリで、起動時の動作を再現することから始めます。クリックせずに起動直後からキーボードナビゲーションが機能し、最初のフォーカス可能な要素または autoFocus 要素にフォーカスが移れば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem Description
When the React Native Windows app launches, the main window does not automatically receive keyboard focus. This means:
-
Users cannot immediately interact with the app using keyboard navigation (Tab, Enter, arrow keys, etc.)
-
Accessibility tools (screen readers) don't announce the app content on launch
-
Users must first click inside the window before keyboard input is recognized
Steps To Reproduce
- Create a new React Native Windows app
- Add a first component not focusable
- Add a focusable element (e.g., a Pressable or TextInput)
- Launch the app
- Without clicking, try pressing Tab or interacting via keyboard
- Observe that nothing happens until the window is clicked
Expected Results
Expected behavior:
When the app window opens and becomes the foreground window, it should automatically have keyboard focus so that:
- Tab navigation works immediately
- The first focusable element (or a designated autoFocus element) receives focus
Actual behavior:
The window appears in the foreground but keyboard focus is not set. The user must click inside the window before any keyboard/focus-based interaction works. This is particularly problematic for:
- Accessibility compliance (WCAG 2.1 requires operable keyboard interfaces)
- Users who rely on keyboard-only navigation
CLI version
20.0.0
Environment
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 Intel(R) Core(TM) Ultra 7 265H
Memory: 30.96 GB / 63.43 GB
Binaries:
Node:
version: 22.22.0
path: C:\Program Files\nodejs\node.exe
Yarn:
version: 1.22.22
path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm:
version: 10.9.4
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.19041.0
- 10.0.22621.0
- 10.0.26100.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.14.37216.2 (Visual Studio Community 2022)
- 16.11.37206.5 (Visual Studio Professional 2019)
Languages:
Java: Not Found
Ruby:
version: 3.0.2
path: C:\tools\ruby30\bin\ruby.exe
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.4
wanted: 19.1.4
react-native:
installed: 0.81.6
wanted: 0.81.6
react-native-windows:
installed: 0.81.15
wanted: 0.81.15
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Community Modules
No response
Target React Native Architecture
None
Target Platform Version
None
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
- 主要言語
- C++
- スター
- 17.4k
- フォーク
- 1.2k
- 平均マージ
- 3日 10分
- マージ済み PR(30日)
- 14
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/react-native-windows のほかの issue
-
Fabric text is drawn with ClearType onto transparent composition surfaces, fringing thin glyphsオープンNeeds: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/react-native-windows#16340 ·
メンテナーはふだん 2 日以内に返信
-
bug Needs: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/react-native-windows#16321 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Single-line TextInput text is drawn below center and clipped on ARM64 (New Architecture)対応中かも @ryfow が 1 日前に担当しました。 オープンbug Needs: Triage :mag:
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
microsoft/react-native-windows#16481 ·
メンテナーはふだん 2 日以内に返信
-
bug Needs: Triage :mag:
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/react-native-windows#16479 ·
メンテナーはふだん 2 日以内に返信
-
Needs: Triage :mag:
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
microsoft/react-native-windows#16442 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
microsoft/react-native-windows の issue をすべて見る
似ている issue
-
1 type: problem 2 scope: firmware 3 good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
SpaceTeam/STS1_COBC_SW#511 ·
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
imaaiagent/fumi#3 ·
-
A bare port in --modelserver does not reach the model server対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
rocketride-org/rocketride-server#2618 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug format I/O medium priority rt_lib
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信