Skip to content

[4.1.1] NativeWind classes not being applied on Animated.View #8329

@vicary

Description

@vicary

Description

^4.1.1 reintroduces #6665 while 4.1.0 does not.

Steps to reproduce

  1. Render a component <Animated.View className="foo" style={{ display: "block" }} /> using [email protected]
  2. Upgrade to react-native-reanimated@^4.1.1
  3. Observe the lack of class foo, only a compiled CSS class from the style prop should be present.

Snack or a link to a repository

cannot install tailwindcss in snack

Reanimated version

^4.1.1

Worklets version

0.5.1

React Native version

Expo SDK 54

Platforms

Web

JavaScript runtime

Hermes

Workflow

None

Architecture

New Architecture (Fabric renderer)

Build type

Debug app & dev bundle

Device

No response

Host machine

macOS

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

Labels

Missing reproThis issue need minimum repro scenarioPlatform: WebThis issue is specific to web

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions