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

Deleting a child from ScrollView leaves empty room at bottom #17827

Closed
cdosborn opened this issue Feb 1, 2018 · 1 comment
Closed

Deleting a child from ScrollView leaves empty room at bottom #17827

cdosborn opened this issue Feb 1, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@cdosborn
Copy link

cdosborn commented Feb 1, 2018

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment (see snack)

Environment:
  OS: Linux 4.13
  Node: 6.12.3
  Yarn: 1.3.2
  npm: 3.10.10
  Watchman: Not Found
  Xcode: N/A
  Android Studio: Not Found

Packages: (wanted => installed)
  react: ^16.2.0 => 16.2.0
  react-native: 0.51.0 => 0.51.0

Steps to Reproduce

The snack takes care of the following steps.

  1. Render scroll view with some children
  2. Delete a child

Expected Behavior

The scroll view adjusts its height properly when a child is removed.

Actual Behavior

The scroll view leaves a sliver (about 20 pixels high) after the last child. Any following drags/touches make the sliver disappear.

Reproducible Demo

https://snack.expo.io/B1GxAybIM

@cdosborn cdosborn changed the title Deleting a child from scroll view leaves empty room at bottom Deleting a child from ScrollView leaves empty room at bottom Feb 1, 2018
@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 24, 2018
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 24, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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

2 participants