Giter Site home page Giter Site logo

Comments (10)

jo7475 avatar jo7475 commented on April 28, 2024 5

Hey i just ran into this issue my self on version 0.73.4, i gave the contentContainerStyle of the flat list a min width of "100%" and it seems to get the job done.

from react-native.

j-s-ott avatar j-s-ott commented on April 28, 2024 1

I think this is the same issue as #41492 and #36617. I've been able to reproduce it in an Android emulator, but not in a Snack unfortunately.

from react-native.

Bardiamist avatar Bardiamist commented on April 28, 2024 1

Just came to write that flexGrow: 1 works better than minWidth: '100%' but it already here 😊

from react-native.

github-actions avatar github-actions commented on April 28, 2024
⚠ī¸ Newer Version of React Native is Available!
ℹī¸ You are on a supported minor version, but it looks like there's a newer patch available - 0.73.6. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

from react-native.

github-actions avatar github-actions commented on April 28, 2024
⚠ī¸ Missing Reproducible Example
ℹī¸ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

from react-native.

TommysG avatar TommysG commented on April 28, 2024

I've encountered a similar problem with the horizontal ScrollView. While I haven't experienced it on my Android 11 device, on later Android versions it seems to happen.

from react-native.

nehab5889 avatar nehab5889 commented on April 28, 2024

@jo7475 It seems to work. Thank you!!

from react-native.

CostasCF avatar CostasCF commented on April 28, 2024

@jo7475 Hey Jo, thanks for the suggestion. However this does seem to disable the scroll entirely and if the items' size change dynamically, the user will not be able to scroll through the horizontal list.

from react-native.

mannoeu avatar mannoeu commented on April 28, 2024

The same happened to me. I tested using react-native LTS 0.73.6 and when the list has only one element the behavior appears.

A curious fact is that I tested on different devices/Android versions using BrowserStack, only devices with Android 12+ showed the behavior.

In my case, adding flexGrow: 1 in contentContainerStyle solved

<ScrollView contentContainerStyle={{ flexGrow: 1 }} />

from react-native.

boiboif avatar boiboif commented on April 28, 2024

flexGrow: 1 solved.

from react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.