File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -342,14 +342,6 @@ The offset from the bottom edge when [`detached`](#detached) is enabled.
342342| - | - | - | - | - |
343343| ` number ` | ` 16 ` | | | ✅ |
344344
345- ## ` stackBehavior `
346-
347- Defines the stack behavior when a modal is presented while another is visible. See [ this guide] ( ../guides/stacking ) for example.
348-
349- | Type | Default | 🍎 | 🤖 | 🌐 |
350- | - | - | - | - | - |
351- | [ ` StackBehavior ` ] ( types#stackbehavior ) | ` "switch" ` | | | ✅ |
352-
353345## ` style `
354346
355347The sheet's container style override.
Original file line number Diff line number Diff line change @@ -155,23 +155,6 @@ Controls how the bottom safe area inset affects detent heights.
155155| ` "automatic" ` | System handles insets automatically. This is the default behavior. |
156156| ` "never" ` | TrueSheet will keep the layout as-is for precise sizing. |
157157
158- ## ` StackBehavior `
159-
160- Defines the stack behavior when a modal is presented while another is visible. Web only.
161-
162- ``` tsx
163- <TrueSheet stackBehavior = " push" >
164- <View />
165- </TrueSheet >
166- ```
167-
168- | Value | Description |
169- | - | - |
170- | ` "push" ` | Mount the modal on top of the current one. |
171- | ` "switch" ` | Minimize the current modal then mount the new one. This is the default behavior. |
172- | ` "replace" ` | Dismiss the current modal then mount the new one. |
173- | ` "none" ` | Use a regular BottomSheet instead of BottomSheetModal. Bypasses the modal stack entirely. |
174-
175158## ` DetentInfoEventPayload `
176159
177160` Object ` that comes with most sheet events.
Original file line number Diff line number Diff line change @@ -154,30 +154,6 @@ export interface BlurOptions {
154154 interaction ?: boolean ;
155155}
156156
157- /**
158- * Defines the stack behavior when a modal is presented on web.
159- *
160- * @platform web
161- */
162- export type StackBehavior =
163- /**
164- * Mount the modal on top of the current one.
165- */
166- | 'push'
167- /**
168- * Minimize the current modal then mount the new one.
169- */
170- | 'switch'
171- /**
172- * Dismiss the current modal then mount the new one.
173- */
174- | 'replace'
175- /**
176- * Use a regular BottomSheet instead of BottomSheetModal.
177- * This bypasses the modal stack entirely.
178- */
179- | 'none' ;
180-
181157/**
182158 * Inset adjustment behavior for the sheet content.
183159 */
@@ -489,18 +465,6 @@ export interface TrueSheetProps extends ViewProps {
489465 */
490466 detachedOffset ?: number ;
491467
492- /**
493- * Defines the stack behavior when a modal is presented.
494- * - `push`: Mount the modal on top of the current one.
495- * - `switch`: Minimize the current modal then mount the new one.
496- * - `replace`: Dismiss the current modal then mount the new one.
497- * - `none`: Use a regular BottomSheet instead of BottomSheetModal.
498- *
499- * @platform web
500- * @default 'switch'
501- */
502- stackBehavior ?: StackBehavior ;
503-
504468 /**
505469 * Called when the sheet's content is mounted and ready.
506470 * The sheet automatically waits for this event before presenting.
Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ export type TrueSheetNavigationSheetProps = Pick<
148148 | 'elevation'
149149 | 'detached'
150150 | 'detachedOffset'
151- | 'stackBehavior'
152151> ;
153152
154153/**
You can’t perform that action at this time.
0 commit comments