Add iOS 26 fluid zoom transition for Menu sheets
On iOS 26+, Menu bottom sheets now morph from their trigger button using UIViewController.preferredTransition = .zoom. This creates a fluid visual connection between the trigger and the presented sheet, complementing the Liquid Glass design language. The sourceViewTag prop is also available on the generic Dialog/BottomSheet layer so any dialog can opt into the zoom transition. https://claude.ai/code/session_011cNDhEb2cDgg5QbVuzEyH1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import {ColorValue, NativeSyntheticEvent} from 'react-native'
|
||||
import {type ColorValue, type NativeSyntheticEvent} from 'react-native'
|
||||
import type React from 'react'
|
||||
|
||||
export type BottomSheetState = 'closed' | 'closing' | 'open' | 'opening'
|
||||
|
||||
@@ -25,6 +25,7 @@ export interface BottomSheetViewProps {
|
||||
backgroundColor?: ColorValue
|
||||
containerBackgroundColor?: ColorValue
|
||||
disableDrag?: boolean
|
||||
sourceViewTag?: number
|
||||
|
||||
minHeight?: number
|
||||
maxHeight?: number
|
||||
|
||||
Reference in New Issue
Block a user