Skip to content

Disabled style not working on pressable react native web #346

Description

@claudesortwell

What happened?

 <Pressable
            onPress={() => {
              console.log("pressed");
            }}
            disabled={true}
            className="bg-red-400 w-60 center justify-center items-center rounded-md border p-2 px-3 disabled:opacity-10"
          >
            <Text className="text-secondary-950 font-medium text-base select-none">
              Buy Now
            </Text>
          </Pressable>

Steps to Reproduce

  1. Changing disabled to true or false has no effect on styles for web

Snack or Repository Link

see above

Uniwind version

1.2.7

React Native Version

0.83.1

Platforms

Web

Expo

Yes

Additional information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions