Skip to content

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

Closed

Description

@cdosborn

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

Activity

  1. changed the title [-]Deleting a child from scroll view leaves empty room at bottom[/-] [+]Deleting a child from ScrollView leaves empty room at bottom[/+] on Feb 1, 2018
  2. react-native-bot commented on Feb 24, 2018

    @react-native-bot
    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 Contribute • What to Expect from Maintainers

  3. added
    Ran CommandsOne of our bots successfully processed a command.
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Feb 24, 2018
  4. removed
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Feb 24, 2018
  5. locked as resolved and limited conversation to collaborators on Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions