akveo / akveo/react-native-ui-kitten

Allow Modal container styles to be passed in.

オープン
#1,416 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
:bulb: Proposal
主要言語
TypeScript
スター
10.7k
フォーク
962
PR マージ指標
30日以内にマージされた PR はありません

説明

## 🚀 Feature Proposal

In order to create components that appear on top of modal backdrops (like a toast/growl component), a simple solution would be another modal, but where the modal is positioned to a certain area of the screen. I can hide the backdrop and and move the modal element itself, but I can not modify the container that is full screen and prevents any presses through on web. If we could pass in container styles, then we could position this container to be only as large as its content and that would allow toast popups on top of the modal backdrop.

## Motivation

To better customize the Modal component and use it for features that are not specifically modals but require the content to be rendered as a sibling to other modals for stacking purposes.

## Example
```

This is a modal
{success &&

This is a toast

}

```

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

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

評価

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

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

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