ms88privat / example-multiple-swipe-cards

4 stars 0 forks source link

Unable to bring cards to front #3

Open leopoldjoy opened 7 years ago

leopoldjoy commented 7 years ago

Hello,

I am using example-multiple-swipe-cards in a View between other sibling views. Like this:

import SwipeCards from 'react-native-multiple-swipe-cards';
// ...
<View style={styles.thing1}>
  // ...
</View>
<View style={styles.cardWrap}>
  <SwipeCards
    // ...
  />
</View>
<View style={styles.thing2}>
  // ...
</View>

Currently on Android when you grab and drag the cards around they are hidden behind the sibling views. Note: This does NOT happen on iOS (the cards go in front of the sibling views). Any idea how I can get the cards to be visible (when dragged) in front of the siblings views?

Thanks!