Skip to content

Flatlist not rendering item correctly when orientation changes. #19615

@hyochan

Description

@hyochan
Contributor

Environment

OS: macOS High Sierra 10.13.4
Node: 10.2.1
Yarn: Not Found
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 3.1 AI-173.4720617

Packages

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

In real device and emulator.

Description

When I try to rotate screens, sometime UI crashes as shown in the clip.

Steps to Reproduce

Rotate, rotate.

Expected Behavior

UI should not crash.

Actual Behavior

UI crashes like in the clip. You can download.


I've edited environment in my post but react-native-bot here won't get this away so I posted again.

Activity

stale

stale commented on Sep 6, 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.

added
StaleThere has been a lack of activity on this issue and it may be closed soon.
on Sep 6, 2018
hyochan

hyochan commented on Sep 9, 2018

@hyochan
ContributorAuthor

Still facing issue in 0.56

removed
StaleThere has been a lack of activity on this issue and it may be closed soon.
on Sep 9, 2018
stale

stale commented on Dec 8, 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.

added
StaleThere has been a lack of activity on this issue and it may be closed soon.
on Dec 8, 2018
hyochan

hyochan commented on Dec 9, 2018

@hyochan
ContributorAuthor

This is still happening in 0.57 I need community for attention. There is some bug in orientation when ui is bit complex. Therefore I am using RN as portrait only.

removed
StaleThere has been a lack of activity on this issue and it may be closed soon.
on Dec 9, 2018
terrysahaidak

terrysahaidak commented on Dec 9, 2018

@terrysahaidak

Hi @dooboolab, could you please create a reproducible example and post a link to github repo? I will help a lot.

hyochan

hyochan commented on Dec 10, 2018

@hyochan
ContributorAuthor

@terrysahaidak Ok I will. But it would take time for me because I need to move out of code from my production app. Thanks.

6 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hramos@dulmandakh@terrysahaidak@hyochan@react-native-bot

        Issue actions

          Flatlist not rendering item correctly when orientation changes. · Issue #19615 · facebook/react-native