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

Fix: dynamic cards list, cards not rendering straight #87

Merged
merged 3 commits into from
Oct 26, 2022

Conversation

nofacez
Copy link

@nofacez nofacez commented Oct 21, 2022

fixes: #86, #84, #31

Explanation:
#31 - cards were not rendering straight at some point because resetTopCard method didn't reset pan VALUE, but OFFSET only. Every other place where this.state.pan.setOffset was called, there was a call of this.state.pan.setValue

#84, #86 - cards were not updated because swiper used cards from state, not from props.

@nofacez nofacez changed the title Fix: add this to componentWillUnmountAfterInteractions Fix: dynamic cards list, cards not rendering straight Oct 21, 2022
@apeTrackunit
Copy link

Hi, when can we expect this to be merged? @webraptor @nofacez

The swiper isn't usable now, because the app fails whenever I run out of the cards or move from the screen with Swiper. #84

@webraptor webraptor merged commit e292abb into webraptor:master Oct 26, 2022
@webraptor
Copy link
Owner

Merged, released under 2.0.11

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.

variable not found componentWillUnmountAfterInteractions
3 participants