callstack / callstack/react-native-paper

Change Menu focus behaviour on web

オープン
#4,720 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

**Is your feature request related to a problem? Please describe.**
Currently, when the menu closes, it removes focus from the currently focused element. This is problematic in scenarios where selecting an option should close the menu and allow the user to continue interacting with a text field — for example, one they were editing before opening the menu, or one displayed in a dialog window.

**Describe the solution you'd like**
Remove the blur behavior, or provide a way to customize it, e.g., via a component prop.

**Describe alternatives you've considered**
The only workaround I’ve found is to introduce a delay before manually calling .focus() after the menu closes, but this feels like a hack.

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

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

評価

この issue はまだ評価されていません。

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

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