All Questions
Tagged with scrollview javascript
211 questions
0
votes
0
answers
34
views
Intersection Observer not cleaning up after observing
I'm creating this section of a website where images would slide into view when in the viewport. I just learned about intersection observer and tried to implement it, and it works fine.
The only ...
2
votes
1
answer
57
views
Wheel scroll issue: How to set scrolling so that only one section moves at a time?
I am coding for a scrollable website. It runs very well when I use a mouse, but I am facing an issue when using a laptop scroll pad. When I scroll using the laptop pad, these sections move twice as ...
0
votes
0
answers
36
views
Horizontal scroll buttons
I have a dialog with a plusIconButton that allows me to create new column. I can create new columns till I reach this equality allBomDocumentIds.length === styleOptions.length. In that moment I ...
0
votes
1
answer
50
views
Vertical scrolling not working in Expo React Native
I have an issue with this screen. The elements overflow and I can't display the sidebar to scroll the content. The strange thing is that in all the other screens I use my components <AppContainer&...
0
votes
0
answers
33
views
Scroll continuously while condition is true using React Native's ScrollView
I'm currently implementing a drag-and-drop list using react-native-gesture-handler. The list is implemented as a simple Array.map() within a ScrollView since a FlatList would be incompatible with some ...
0
votes
1
answer
42
views
Not able to handle UI When Keyboard appears after clicking on textInput
So below is the code which works in ios without any disturbance in UI when keyboard Appears. But in Android, I have issues handling keyboard after clicking on textInput.
return (
<View ...
2
votes
1
answer
520
views
Prevent React Native Snap Scroll in Flatlist Header
I'm using a question I asked on reddit as a reference. In the thread I was asking how to implement a copy of Spotify's snap scroll. I won't go into detail here, but I want to ask a more technical ...
0
votes
1
answer
51
views
React ScrollIntoView Does not work when scrolled to top
The Problem :- The scrollIntoView is working fine but, it fails for this scenario when suppose I click on John Doe it scrolls to that section but now when I scroll to top and select again John Doe ...
0
votes
2
answers
519
views
Sticky Menu using Scroll View in Expo React Native Web
I am trying to keep my top menu from scrolling with the rest of the page in my Expo React Native Web project, but after hours of troubleshooting, I can't get the menu to be sticky. Please have a look ...
0
votes
0
answers
97
views
scrollTo and scrollIntoView don't working
I've trying to apply a smooth scroll on my page when user click on nav menu (internal links).
I could create a link between the nav menu and the section on page and it works well, but when I try to ...
0
votes
3
answers
506
views
VirtualizedLists should never be nested inside plain ScrollViews Using Dropdown Picker
I'm using the RN library react-native-dropdown-picker but when i wrap this component with ScrollView it returns a warning of
VirtualizedLists should never be nested inside plain ScrollViews with the ...
-1
votes
1
answer
95
views
import function from one js file to another js file
I was trying to import function coz I will want to click on <il> servies</il> and scroll to the section services that is in home page
I'm just want to click the li that is on the navbar ...
0
votes
1
answer
301
views
ScrollView with position absolute is not scrolling in android [react native]
I want to make dropdown view using scrollview in react native, but scrollview is not scrolling in android while its position is absolute, in IOS it is scrolling like a charm.
This is my code
<...
2
votes
0
answers
233
views
View inside a ScrollView doesn't show if i don't specify MinHeight
I'm trying to use the Tab View component inside a ScrollView but it never show if I don't specify a minHeight, I can't understand why.
import React from 'react'
import { View, StyleSheet, Text, ...
0
votes
0
answers
34
views
Fade in on scroll not working with classList
I am trying to make a fade in effect on when the scroll reaches a certain point of the window.
For some reason the class show is not appearing whne that point is reached.
const fade = document....