react-native-scrollview Questions
6
Solved
I have a form that is longer than the phone's screen height. It is a ScrollView containing TextInput components. The problem is that when I want to drag starting the touch on a TextInput, the Scrol...
Lannie asked 19/1, 2017 at 14:24
4
I have an inverted vertical FlatList in my chat app, which shows the newest message at the bottom and the oldest message at the top (like all other chat applications)
The problem is when I want to ...
Pestalozzi asked 12/6, 2019 at 11:27
3
Hermes enabled
OS: iOS
getting with FlatList and ScrollView
When developing ScrollView or FlatList, having no issues with the scroll bar. In production, sometimes it looks ugly and positions at the...
Dickdicken asked 6/10, 2022 at 13:16
4
I have used Scrollview in my screen and when I log y offset I get negative values?
How can I disable Scrollview bouncing?
Mulry asked 27/11, 2019 at 14:5
6
Solved
I'm trying to run flex on a ScrollView, and as long as the ScrollView has flex: 1 the scroll inside does not work.
here is the expo fiddle (that you can run this code and play with)
https://snack....
Doubler asked 18/10, 2017 at 7:45
9
Solved
I have a horizontal flat list where each item is width:300
All I am trying to do is to get index of currently visible item.
<FlatList
onScroll={(e) => this.handleScroll(e)}
horizontal={t...
Pulverize asked 24/8, 2017 at 18:8
11
Solved
I have a Text with long text inside a ScrollView and I want to detect when the user has scrolled to the end of the text so I can enable a button.
I've been debugging the event object from the onSc...
Harrie asked 9/12, 2016 at 9:8
2
I've a short question: How can I apply a different style to a sticky header in a scrollview when it sticks?
I wanna add some shadow/elevation when it sticks.
Thank you :)
Environment
react-nati...
Unspeakable asked 2/7, 2017 at 19:32
3
I need to create a screen Catalog(Categories and Products).
I'm using SectionList from React Native in order to achive this.
I need to make that Categories component stick on the top when you scrol...
Arboriculture asked 19/6, 2021 at 18:22
9
I want to use WebView inside ScrollView for my react native app. But if I do so, I am not able to scroll my webview, unless I disable the scroll on scrollview. However, I need the scroll in both sc...
Cameliacamella asked 4/5, 2017 at 11:13
3
is it possible to scroll only to one direction?
I have a function that detects the direction the user is a scroll.
But I can't figure out how can I set a flag, that if the user doesn't answer the ...
Syllogism asked 29/3, 2018 at 6:18
6
Solved
Hi I am trying to achieve scrollview snap to center
like below gif link
Check This Gif
But unable to do so. Following is my react native code to achieve this.
or is there any method to scroll ...
Clance asked 4/10, 2016 at 10:12
6
Solved
I have a TextInput inside a ScrollView.
The scroll isn't working when the TextInput is on focus. This problem is only affecting Android.
Gasperoni asked 28/9, 2016 at 10:53
1
I have a component with a horizontal <FlatList> that contains 100s of items (calendar days), with the same width as the screen. The <FlatList> is set to snap to an interval similar to t...
Featherstitch asked 23/8, 2019 at 22:56
2
Solved
In this snack I am trying to have 3 cards in the center of the screen with a horizontal FlatList and enabled paging to jump to the next 3 cards on scroll.
But the layout starts getting destroyed af...
Bicorn asked 3/9, 2021 at 15:5
1
I Cant create FlatList nested inside FlatList with same orientation;
the result is that the parent is horizontal but the children are vertical;
this is my code:
renderSlides(question) {
return <...
Glorious asked 5/4, 2018 at 10:46
1
After the user does some action I want to scroll to a particular section within a ScrollView, which I'm doing using this code:
this.refs.detailsView.measure((x, y, width, height, pageX, pageY) =&g...
Slifka asked 8/12, 2016 at 15:46
3
I'm using FlatList from React Native to render a bunch of items stacked on top of each other.
This works fine, I've managed to make the FlatList itself expand it's height to fill the available spac...
Keramic asked 20/3, 2021 at 21:43
3
Solved
I would like to create a screen with a ScrollView with some input fields in it, and a Button (actually 2 buttons in a normal View) at the bottom of the screen. This should be pretty easy, BUT, I wa...
Carcinoma asked 27/9, 2018 at 14:38
2
So, I want to create a layout similar to whats below. [Refer the Image]
So the background has a full screen MapView (React Native Maps) with Markers over it, which needs to be clickable.
And there ...
Ramp asked 27/9, 2017 at 3:26
4
Solved
Is it possible to tell a ScrollView to scroll to a specific position when we just navigated to the current screen via StackNavigator?
I have two screens; Menu and Items. The Menu is a list of Butt...
Mancini asked 11/10, 2017 at 6:4
2
What I want (GIF)
Here is a (quality-reduced) GIF about what I'm want to achieve.
What I want (Text)
I have a scrollview, that is positioned at the half of my screen.
What I want is to drag ...
Zoara asked 28/11, 2018 at 16:5
2
Solved
When you use ScrollView or ListView in your ReactNative app and some new data came in, the default behavior of them is to keep the position in the Scroll component. Which means if the new data of h...
Diantha asked 21/12, 2016 at 19:57
0
I have a scrollview which content is larger than phone screen.
I scroll to the bottom and there I have function that reload content of that scrollview but first clear data source for it.
Reload fun...
Fibrosis asked 27/5, 2019 at 18:13
1
I am trying to understand how can I set a threshold for the RN ScrollView.
This is because if you have multiple vertical scrollable View in a horizontal ScrollView then the scrolling of the Views ...
Aurochs asked 23/3, 2017 at 9:30
1 Next >
© 2022 - 2024 — McMap. All rights reserved.