We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey!
Thank you very much for this amazing library.
I sometimes have this warning TypeError: undefined is not an object (evaluating '_this.dimensionsChangeSubscription.remove')
It makes the app stuck. Anyones help is highly appreciated.
<View style={{ flex: 1, position: "absolute", height: Dimensions.get("screen").height, width: Dimensions.get("screen").width, backgroundColor: "transparent", marginTop: 50, alignContent: "center", alignSelf: "center", justifyContent: "center", zIndex: 9999 }}> <Swiper containerStyle={{ backgroundColor: "transparent", width: "100%", marginTop: 20 }} disableBottomSwipe disableTopSwipe onSwiped={this.onSwiped} onSwipedRight={this.onSwipedRight} onSwipedLeft={this.onSwipedLeft} onSwipedAll={this.onSwipedAll} cards={this.props.timelineBooks} stackSize={3} renderCard={(card: { isbn: React.Key | null | undefined book: { imageUrl: any } }) => { return ( <View key={card.isbn} style={{ marginTop: 20, height: Dimensions.get("window").width * 0.9, width: Dimensions.get("window").width * 0.6, alignContent: "center", alignSelf: "center", justifyContent: "center" }}> <DropShadow style={{ shadowColor: "#000", shadowOffset: { width: 2, height: 5 }, shadowOpacity: 0.4, shadowRadius: 5 }}> <FastImage style={styles.bookImage} source={ card.book.imageUrl ? { uri: card.book.imageUrl, priority: FastImage.priority.normal, cache: FastImage.cacheControl.immutable } : appearanceMode == "dark" ? require("../../../../../assets/noImage_dark.png") : require("../../../../../assets/noImage_light.png") } resizeMode="contain"> </FastImage> </DropShadow> </View> ````
The text was updated successfully, but these errors were encountered:
Same issue...
Sorry, something went wrong.
Fixed by installing "react-native-deck-swiper": "^2.0.5"
"react-native-deck-swiper": "^2.0.5"
just run
yarn add [email protected]
I gotting this error, too.
I installed ^2.0.9 (most recent version), but doesn't work.
^2.0.9
Will be fixed in 2.0.10
bugfixes
736cb79
#44 #82
No branches or pull requests
Hey!
Thank you very much for this amazing library.
I sometimes have this warning
TypeError: undefined is not an object (evaluating '_this.dimensionsChangeSubscription.remove')
It makes the app stuck.
Anyones help is highly appreciated.
The text was updated successfully, but these errors were encountered: