Skip to content

Logical border properties (and probably others) are broken on IOS #581

@istarkov

Description

@istarkov

What happened?

The simple code

export default function Radius() {
  return (
    <View className="flex-1 bg-background pt-safe">
      <View className="m-14 h-40 w-40 items-center justify-center rounded-es-[44px] bg-primary">
        <Text>rounded-es-[44px]</Text>
      </View>

      <View className="m-14 h-40 w-40 items-center justify-center rounded-ee-[44px] bg-primary">
        <Text>rounded-ee-[44px]</Text>
      </View>
    </View>
  );
}

Shows fully different results on IOS and Android (Android is at right and shows the right picture IOS doesn't) (rounded-es-*)

Image

That's not all

border-s-* border-e-* are working
border-bs-* border-be-* are not

Steps to Reproduce

export default function Radius() {
  return (
    <View className="flex-1 bg-background pt-safe">
      <View className="m-14 h-40 w-40 items-center justify-center rounded-es-[44px] bg-primary">
        <Text>rounded-es-[44px]</Text>
      </View>

      <View className="m-14 h-40 w-40 items-center justify-center rounded-ee-[44px] bg-primary">
        <Text>rounded-ee-[44px]</Text>
      </View>
    </View>
  );
}

Open on android and IOS

Snack or Repository Link (Optional)

No response

Uniwind version

1.4.0

React Native Version

0.85.0

Platforms

Android, iOS

Expo

Yes

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions