#50707·expo

[iOS] Link.Trigger lift rounds corners drawn by a child view

Author: oscnordCreated Sep 28, 2026Updated Sep 28, 2026
Labelsneeds reviewcontributor: external

Minimal reproducible example

https://github.com/oscnord/expo-link-preview-corners

Steps to reproduce

iOS only, in Expo Go (the same happens in a development build). Package manager: npm.

  1. Clone the repository, run npm install, then npx expo start, and open the app in Expo Go on iOS. Tested on the iOS 26.5 simulator with Expo Go 57.0.9.
  2. Long-press the second card. Its 8pt corners are drawn by the orange child view. The Link.Trigger child is a Pressable with no radius of its own and a caption row below the art.

Expected: the lifted card keeps the 8pt corners it has at rest.

Actual: iOS lifts the card inside a rounded rectangle of its own. The top corners come up with a much larger radius, while the bottom corners of the orange view, which sit above the caption, keep 8pt.

The first card is a control: its Pressable has the 8pt radius itself, and it lifts with its own corners.

At rest Lifted
At rest Lifted

NativeLinkPreviewView builds the lift from a bare UIPreviewParameters() with no visiblePath, so an app has no way to tell UIKit the shape of a trigger like this. #50669 adds an iOS-only previewCornerRadius prop on Link.Trigger that sets it.

Environment

  expo-env-info 2.1.0 environment info:
    System:
      OS: macOS 27.0
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 24.15.0 - /Users/oscar/.nvm/versions/node/v24.15.0/bin/node
      Yarn: 1.22.22 - /Users/oscar/.nvm/versions/node/v24.15.0/bin/yarn
      npm: 11.12.1 - /Users/oscar/.nvm/versions/node/v24.15.0/bin/npm
    Managers:
      CocoaPods: 1.17.0 - /Users/oscar/.gem/ruby/2.7.5/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 27.0, iOS 27.0, macOS 27.0, tvOS 27.0, visionOS 27.0, watchOS 27.0
    IDEs:
      Android Studio: 2024.3 AI-243.25659.59.2432.13423653
      Xcode: 27.0/27A266a - /usr/bin/xcodebuild
    npmPackages:
      expo: ~57.0.25 => 57.0.25
      expo-router: ~57.0.23 => 57.0.23
      react: 19.2.3 => 19.2.3
      react-native: 0.86.3 => 0.86.3
    Expo Workflow: managed

Expo Doctor Diagnostics

Running 21 checks on your project...
21/21 checks passed. No issues detected!