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

Update height when receiving new children #536

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

tuomohopia
Copy link
Contributor

Dynamic container height issue

This PR is a fix to the container (view) height not updating itself after it receives new children.

Here is the original issue.

Height animation

Personally I don't want this container height update to be animated so I'll remove that in my fork. But I think you want to keep that animation mandatory there so this PR doesn't touch that.

@alexgonch
Copy link
Contributor

@tuomohopia Thank you so much for posting this PR, it's a life-saver.

@oliviertassinari Please make a new release with this fix because animateHeight prop is virtually useless without it.

@Deborah-Digges
Copy link

Do we know when this fix can be merged?

@andgra
Copy link

andgra commented Nov 13, 2019

is it frozen?

@vanhoutenbos vanhoutenbos merged commit a9149e7 into oliviertassinari:master Dec 4, 2019
pandaiolo pushed a commit to pandaiolo/react-swipeable-views that referenced this pull request Feb 3, 2020
This was an issue we had as well, this PR was the fix for us during the project, I have accepted it to be the official fix for this issue.
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.

5 participants