Skip to content

Modal from react-native not work after setup native-wind #205

@salemkode

Description

@salemkode

modal from react-native not work after setup native-wind

Minimal reproducation

import "./global.css";
import { Text, View, Modal } from "react-native";

export default function App() {
    return (
        <>
            <View className="flex-1 items-center justify-center bg-amber-200 border m-3">
                <Modal visible={true} transparent={true}>
                    <View className="flex-1 items-center justify-center bg-amber-200 border m-3">
                        <Text className="text-blue-500 text-center">Hello</Text>
                    </View>
                </Modal>
            </View>
        </>
    );
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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