v1.7.0
Add the Modal Backdrop Strategy.
You can now change the behavior of the modal backdrop as follows by changing the Backdrop Strategy from the ModalContainer Inspector.
| Setting Value | Description |
|---|---|
| Generate Per Modal | Generate a backdrop for each modal |
| Only First Backdrop | Generate a backdrop only for the first modal, and do not add a backdrop for the second and subsequent ones |
| Change Order Before Animation | Change the rendering order of the first generated backdrop and reuse it when generating the second modal (change the rendering order before the animation) |
| Change Order After Animation | Change the rendering order of the first generated backdrop and reuse it when generating the second modal (change the rendering order after the animation) |
Modal Backdrop Strategyを追加
ModalContainerの Inspector から Backdrop Strategy を変更することで、モーダルの背景の挙動を以下の通り変更できます。
| 設定値 | 説明 |
|---|---|
| Generate Per Modal | モーダルごとに背景を生成する |
| Only First Backdrop | 最初のモーダルにだけ背景を生成し、2個目以降は背景をつけない |
| Change Order Before Animation | 2個目のモーダルを生成したときに最初に生成した背景の描画順を変更して再利用する(アニメーションの前に描画順を変更) |
| Change Order After Animation | 2個目のモーダルを生成したときに最初に生成した背景の描画順を変更して再利用する(アニメーションの後に描画順を変更) |
