Skip to content
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 landing area size customization. #41

Closed
adriancabal opened this issue Apr 28, 2021 · 1 comment
Closed

Confetti landing area size customization. #41

adriancabal opened this issue Apr 28, 2021 · 1 comment

Comments

@adriancabal
Copy link

adriancabal commented Apr 28, 2021

Hi I'm working on a modal and I would like the confetti to only land inside the perimeter of the modal. The confetti aggregately keeps landing towards the right side of the screen and overlapping by a noticable margin (screenshot & video link attached). Currently there is no props to control where the confetti lands and/or how big the width of the landing zone is. Would it be possible to add this?
It would be nice to have a prop where I can input a percentage landing area of the screen's width. Thanks.

I'm using Android platform.

Video link:
https://user-images.githubusercontent.com/16201222/116455868-2f8ea300-a827-11eb-9205-1399f59c78cd.mp4

image:
confettiModalScreenshot

@adriancabal adriancabal changed the title Confetti landing area is skewed to the right. Confetti landing area size customization. Apr 28, 2021
@VincentCATILLON
Copy link
Owner

Hi @adriancabal sorry about the response delay,

This is related to a integrations mistakes made on your side, if you integrate the lib to use all the screen (with the right zIndex ofc), you won't have this issue.

I'm closing this issue, as it's not related to the lib, but to your integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants