-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
ready for releaseAvailable as part of the latest nightly release but not yet available on npmAvailable as part of the latest nightly release but not yet available on npm
Description
Describe the bug
When wrapping a component with styled() from NativeWind v5, the component stops working on web, although it continues to work correctly on native platforms.
This was previously working in NativeWind v4 using cssInterop().
Reproduction
We’re seeing this issue while wrapping the Overlay primitive from gluestack-ui (used internally for Portal).
https://github.com/gluestack/gluestack-ui/tree/feat/nw-v5-alpha
Expected behavior
- Portal should render and open correctly on web.
- Behavior should match native.
- Wrapping with
styled()should not break functionality.
Additional context
- This setup worked correctly in NativeWind v4 using
cssInterop().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ready for releaseAvailable as part of the latest nightly release but not yet available on npmAvailable as part of the latest nightly release but not yet available on npm