Skip to content

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

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.53.0 => 0.53.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. cdosborn commented on Feb 24, 2018

    @cdosborn
    Author

    Still an issue has shown in the snack.
    Copied from #17827

  2. stale commented on Jun 18, 2018

    @stale

    Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

  3. added
    StaleThere has been a lack of activity on this issue and it may be closed soon.
    on Jun 18, 2018
  4. stale commented on Jul 18, 2018

    @stale

    Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

  5. locked as resolved and limited conversation to collaborators on Jul 18, 2018
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

    Platform: LinuxBuilding on Linux.Resolution: LockedThis issue was locked by the bot.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions