callstack / callstack/react-native-paper

Change Menu behaviour on viewport change

オープン
#4,721 コメント 0 件 リアクション 0 件 担当者 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 screen size changes, the menu automatically closes. This is problematic in scenarios where the menu should remain open after, for example, an orientation change or when it needs to coexist with an inner text field that triggers the software keyboard to open.

**Describe the solution you'd like**
Provide a way to customize this behavior, e.g., via a new component prop. It could accept two options: one for the default (current) behavior, and another to keep the menu open and reposition it after a viewport change.

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

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

調査の方向性

まず、メニューコンポーネントと、既存の viewport 変更時の動作を見つけます。存在する場合は関連するコンポーネントテストを読み、現在、閉じる動作と再配置がどのように検証されているかを理解します。コンポーネントの prop によって動作を選択でき、デフォルトの閉じる動作と開いたままにする動作の両方が引き続きカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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