-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: react-native: 0.47.2node -v
: v8.4.0npm -v
: 5.4.1yarn --version
: 0.27.5
Then, specify:
- Target Platform:
iOS
- Development Operating System:
macOS
- Build tools:
Atom
Steps to Reproduce
(Write your steps here:)
- Write a flatlist, which will place elements side by side rather than one below other, using horizontal attribute.
- Provide 3 or more values.
Expected Behavior
The list must scroll horizontally.
Actual Behavior
The app goes horribly unstable and the state keeps on refreshing (render method gets called again and again continuously).
Reproducible Demo
As you can see the logs, there are only 3 records, and the state, of the component, keeps refreshing and hence it does not work smoothly. If I remove horizontal attribute, everything goes fine.
Metadata
Metadata
Assignees
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.