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

Add cardZIndex prop #41

Merged
merged 1 commit into from
Mar 26, 2019
Merged

Conversation

sbardian
Copy link
Contributor

This prop should help with context stack issues while using multiple flip cards. You will want to apply a reversed z-Index order to your flip cards (last card 1, first card 100). This will allow child elements of flip cards to overlap other flip cards.

fixes #40

@zach-luman
Copy link

Let's merge this PR!!!

Copy link
Owner

@AaronCCWong AaronCCWong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this! There's no need to submit the lib files. If it's not too much extra work can you remove those changes? Otherwise you can leave it.

Other than that, I think this is good to go once we can default cardZIndex to auto so that we don't have an empty value if the user does not set this.

src/ReactCardFlip.jsx Outdated Show resolved Hide resolved
@sbardian
Copy link
Contributor Author

I'll hit these updates today and push again.

@AaronCCWong AaronCCWong merged commit 7d0d4fd into AaronCCWong:master Mar 26, 2019
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

Successfully merging this pull request may close these issues.

Issue with other components - causing overlap
3 participants