Questions tagged [react-native-scrollview]

ScrollView is React Native component equivalent to Android/iOS ScrollView, that allows the view hierarchy placed within it to be scrolled

Documentation: here

232 questions
0
votes
1 answer

React Native: Why doesn't setting flexGrow on a inside a work?

In my React Native app I have the following code:
gkeenley
  • 6,088
  • 8
  • 54
  • 129
0
votes
1 answer

FlatList - How to detect when refresh is finished?

I need to do some actions when the user has finished refreshing the data on my FlatList with onRefresh props. I didn't find anything on the doc, so I was wondering if there was any way to do something like that?
0
votes
1 answer

Is it possible for section items to be in a row?

I'm using SectionList in React Native to display some JSON data fetched from a URL.
0
votes
0 answers

scrollTo does not scrollView

I'm new to react-native, I have a segment tab controller nested inside a scrollView , I'm trying to scroll the scrollView by code to show the selected segement tab in the top left of the scroll view when a segment tab is being tapped. for some…
H.Epstein
  • 721
  • 1
  • 7
  • 26
0
votes
1 answer

Horizontal ScrollView cutting child view at the end

I have a Scrollview which I set to horizontal, but it when it doesn't show the componets fully, it cuts the last view or if the width and height of the child views are bigger, it won't show all the views and it will still cut the last view, i have…
Adokiye Iruene
  • 740
  • 2
  • 10
  • 34
0
votes
2 answers

React Native Scroll View - Can't scroll when selecting space in between Views

I have a ScrollView with rows of circles inside of it. The ScrollView only scrolls when I select the circles, but doesn't scroll when I select the space in between the circles. I'm trying to make a Snack but the website appears to be having issues.…
Varun Singh
  • 1,676
  • 3
  • 18
  • 25
0
votes
2 answers

Prevent pull-to-refresh for ScrollView in react-native

Is there a way to prevent pull-to-refresh functionality for ScrollView component? I want to be able scroll, but I don't wanna allow to pull down content of component and prevent situations like this:
radikft
  • 37
  • 2
  • 7
0
votes
3 answers

Adding an item to ScrollView without re-rendering all items

In my current use-case, I'm adding items to a ScrollView. I noticed that if I add an item to the items collection located in state, all the items re-render. Is there any workaround I can do? The current implementation has to be ScrollView, so…
Amaros
  • 503
  • 5
  • 20
0
votes
0 answers

React Native - Unable to scroll till the bottom of my ScrollView

I am using react-native-nested-scroll-view combined with react native's scrollview. On some android devices i am not able to scroll till the bottom of my app screen. The app screen is tabbed using react-navigation. The structure of my classes is…
Y_J
  • 81
  • 1
  • 8
0
votes
0 answers

React-native Struggling with multiple textinput, keyboard appearance and scrollView

I have a single page with a scrollView and a lot of TextInputs, like : ... The problem is : when the Keyboard shows, the Textinput is covered by the…
0
votes
1 answer

"Sticky" center element of horizontal React Native ListView

My complete source code for this issue is posted as an Expo app: https://exp.host/@kevinoldlifeway/swipe-scrollview-of-webviews as well as on Github https://github.com/kevinold/swipe-scrollview-of-webviews I am building a book view in React Native.…
0
votes
1 answer

ScrollView PullDown

I am trying to build a component to detect a pulldown on a scrollview. Pulldown being when you try to refresh facebook or twitter feeds. So my approach was trying to use the onScroll method to detect the changes from scroll…
0
votes
1 answer

React native Scrollview/flex layout behaves inconsistent after minimizing the app on Android

I’m taking my first step in react native land and trying to understand the layouting in regards to the soft keyboard. I’ve created a new react project via rect-native init and written the following component:
0
votes
2 answers

Removing children from Array inside ScrollView always deletes last item

I have {this.state.images.map((uri,i) => )} Here each Thumb class has Image. Whenever I click on the image it is…
santhosh
  • 1,919
  • 3
  • 21
  • 33
0
votes
1 answer

TouchableHighlight with route in ScrollView not working

export default class Main extends Component { constructor(props) { super(props); } go_to_details(){ this.props.navigator.push({ title:'Wine Details', component : winedetails }) } render() { …
1 2 3
15
16