callstack / callstack/react-native-paper

Gmail-like CAB and "select items" logic

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

説明

**Is your feature request related to a problem? Please describe.**
Not quite: it's something I would like to implement in my app.

**Describe the solution you'd like**
Please refer to the video below.

https://user-images.githubusercontent.com/56068232/188570449-05662635-1b48-457b-810f-dab4de538dfd.mp4

I would like to have a Gmail-like CAB (Contextual Action Bar) that shows up whenever the user enters the "select mode". This mode is triggered when there are no selected items and the user long presses one of the items in a list (in this case, emails). The new CAB should be different from the one that is shown when in "normal mode" (in this case, the CAB is absent when in "normal mode", and slides down without shifting the mails).

**Describe alternatives you've considered**
I've been toying around a little in [this snack](https://snack.expo.dev/@mbuffo/a925da), but I'm not happy with the result, especially with the "Hide appbar" transition.

**Additional context**
The video above should be enough.

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

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

評価

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

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

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