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

When drag the animated view to top(child component out of sight),the child content became shorter #20219

Closed
monkingame opened this issue Jul 16, 2018 · 4 comments
Labels
API: Animated Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@monkingame
Copy link

Environment

Environment:
OS: macOS High Sierra 10.13.6
Node: 10.4.1
Yarn: 1.7.0
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

Description

My project is a Animated view based on PanResponder. The Animated.View has three child components.

When I dragged the animated view to top(and child component out of sight of the screen),the child content became shorter and shorter.

Reproducible Demo

https://snack.expo.io/SkZ396FQm

#Video screenshot
https://www.youtube.com/watch?v=qoXHpZdMRh8&feature=youtu.be

@guiyom19
Copy link

I have exactly the same problem on iOS (not on Android).
Is this something we can bypass with the 0.55.4 version or do we have to upgrade to 0.56 ?

@guiyom19
Copy link

I sorted the problem using translateY instead of top

@jakallergis
Copy link

jakallergis commented Aug 2, 2018

I have the same problem! This is related to #20215 #19952 #19244 and is really frustrating. the translateY/X workaround is working but it doesn't change drag the parent layout with it so its not for every scenario. This doesn't fix it.

For me it happend after I upgraded to 0.55.0

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Aug 17, 2018
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@facebook facebook locked as resolved and limited conversation to collaborators Aug 17, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Animated Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants