-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confetti not rendering on top of Images #92
Comments
This was referenced Aug 10, 2023
Can this be somehow solved? In my case it is not rendered over the https://wix.github.io/react-native-ui-lib/docs/components/lists/GridList . Are there any alternatives to this lib? |
This has helped me: <View
style={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
zIndex: Number.MAX_VALUE,
pointerEvents: "none",
}}
>
<ConfettiCannon
count={200}
origin={{ x: -10, y: 0 }}
fadeOut={true}
autoStart={false}
ref={(ref) => setCannon(ref)}
/>
</View> (it was suggested by ChatGPT 🤖) |
it's working bro thank you ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am sorry for not having the time to make a minimum reproducible example.
However, I am facing the issue that the Confetti does not render on top of images.
I have attempted to layer the components using
zIndex
property, but that however does not work.The text was updated successfully, but these errors were encountered: