         if let presentationController = hostingController.presentationController as? UISheetPresentationController {
             presentationController.detents = detents
             presentationController.prefersGrabberVisible = prefersGrabberVisible
-            presentationController.preferredCornerRadius = preferredCornerRadius
         }
 
         // Store reference to compare later for dismissal in multi bottom sheet scenarios

                }
            ),
            detents: detents,
            prefersGrabberVisible: prefersGrabberVisible,
            preferredCornerRadius: preferredCornerRadius,
            onDismiss: onDismiss,
            content: { item.wrappedValue.map(content) }
        )

    @Binding var isPresented: Bool
    let detents: [UISheetPresentationController.Detent]
    let prefersGrabberVisible: Bool
    let content: (() -> Content)?
    let onDismiss: (() -> Void)?

