Questions tagged [scrollview]

Be sure to use a **platform specific** tag. Use this tag only for the most general questions about scroll views on all platforms. A scroll view is a view that can be scrolled by the user, inside a containing area. One of the basics of all modern UX.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

When I run scrollintoview in Safari, the element disappears from the screen

I am currently developing in the next.js environment. useEffect(() => { topCardRef.current?.scrollIntoView(); }, [data]); As in the code above, it was implemented to scroll when there is a ...
Hyeongrok's user avatar
0 votes
0 answers
20 views

scrollPosition in view aligned scrollTargetLayout does not work when custom views are inside ForEach

Ok so I have noticed that on iOS 17.2 the scrollPosition modifier does not update with an HStack when using a "custom" view. Here is the setup struct NumberView: View { var number: Int ...
CalebK's user avatar
  • 419
0 votes
1 answer
35 views

How remove Bouncing effect in flutter when scrolling page

In flutter i am using 3.0.6 dart sdk in this when use SingleChildScrollView & using physic AlwaysScrollableScrollPhysics than i am getting an by default bouncing effect how to remove this .It ...
VK Gehlot's user avatar
1 vote
1 answer
30 views

How to have a Scrollview inside a fixed View of height "100%" React Native

I would like to have a Scrollview inside a fixed View, so that when I scroll the Scrollview, the rim of the View is still always there (the View is like the frame of the scrolling content). It works ...
Nguyễn Minh's user avatar
0 votes
0 answers
17 views

SwiftUI scrolling is restricted to certain part

I want to zoom a video and also scroll after zooming in. But once I zoom in it only allows me to zoom according to the scale of my pinch gesture @objc private func pinch(gesture: ...
Sudeep More's user avatar
0 votes
0 answers
43 views

SwiftUI ScrollView doesn't update scrollPosition(id:) when the user taps on the status bar and the ScrollView scrolls to the top

I faced issue that SwiftUI ScrollView doesn't update scrollPosition(id:) when the user taps on the status bar and the ScrollView scrolls to the top. Are there any potential native SwiftUI solutions ...
Alexander Khitev's user avatar
0 votes
0 answers
22 views

Adding scrollView to my player list in react native

I'm new with React Native and I'm trying to create an Android app in an Expo project, but I'm having issues with adding scroll view to the screen where I want the player names to be displayed. This is ...
Octa28's user avatar
  • 1
0 votes
0 answers
26 views

Zoom CollectionView inside ScrollView

I want to zoom a collectionView inside a scrollView, but when I zoom the scrollView, the contentOffset of the scrollView doesn't change. Therefore, I can't scroll to the top of the collectionView when ...
Anh Phuong Bui 's user avatar
0 votes
1 answer
33 views

videoplayer inswiftui view not using fullscreen

I am building an app with a feed of videos which looks like TikTok or Facebook Reels, in a sense that I want one post using fullscreen so the video use the entire space. It seems not working, and only ...
Seb's user avatar
  • 3,015
0 votes
1 answer
33 views

How to add a scroll bar aside a widget without overlaying in Flutter?

I am trying to add a scroll bar to a GridView in Flutter using ScrollBar widget. I want the scroll bar to be always visible. However, the scroll bar overlays (comes in front) of the grid. Is there a ...
Arfeen Yousuf 's user avatar
0 votes
0 answers
11 views

Overriding SoftInputMode in fragment not working

I have defined windowSoftInputMode="adjustPan" in Manifest activity tag and want different softInputMode in different fragment. Here is my code: AndroidManifest.xml <activity ...
user3488010's user avatar
0 votes
1 answer
38 views

ScrollView affecting the Views inside Geometry Reader

Main Content View: struct ContentView: View { @State var editing: Bool = false @State var inputText: String = "" @State var vOffset: CGFloat = 0 @State var hOffset: ...
Ios Dev's user avatar
1 vote
0 answers
33 views

React native - ScrollView doesn't work on mobile but it works on web

I got this react native page (I use expo). If you press on the yellow part, the cyan background list will show up. But even if it's all wrapped in a ScrollView, when the content go over the page ...
LilLakes's user avatar
0 votes
1 answer
28 views

kendo scrollview as clientTemplate doesnt work when providing it a template

I am working on a page of a website using Kendo ASP.NET MVC. What I need is a table with a detail row. Within that detail row, I require a Kendo ScrollView to display images. When I attempt to use a ...
Daniel Larrad's user avatar
0 votes
0 answers
20 views

Fatal Exception: NSInternalInconsistencyException in React Native

Below is the error I got in the firebase crashlytics of my app. ERROR: UIScrollView does not support multiple observers implementing _scrollViewWillEndDraggingWithVelocity:targetContentOffset: I've ...
Prudhvi's user avatar
0 votes
1 answer
60 views

SwiftUI - ScrollView Navigation issues

SwiftUI: 5.9 XCode: 15.0.1 iPhone 11 iOS: 17.0.3 I am building an app with couple of screens. In one of the View I try to implement Vertical ScrollView with cca 3 - 6 Horizontal ScrollViews. They will ...
Gregor Sotošek's user avatar
0 votes
0 answers
12 views

How can I make an element scroll only when it is visible on the page?

I want to achieve a similar effect here: https://typecode.com/good/ I used intersectionObserver to find when my element 'test' is visible on the page. Then when it is visible I want that element's ...
Erica De Guzman's user avatar
0 votes
0 answers
56 views

scaling buttons grid with CGAffineTransform goes wrong

I am trying to make buttons grid that will be scale up and down with pinching the scrollview , I am inspired by Scale UIView elements and the answer by donmag. the problem is that the buttons comes ...
user8058965's user avatar
0 votes
0 answers
23 views

Detect if ScrollView is manually scrolled by user or is debouncing automatically?

I am currently making an animation identical to the snap refreshing animation of the chat section. The refreshing only occurs after scrolling to specific extent and the user then unholds so the ...
Yousif Ismat's user avatar
0 votes
2 answers
65 views

FlatList in ScrollView Error "VirtualizedLists should never be nested inside plain ScrollViews with the same orientation"

I make a component EventCards in this I use Flatlist. I call that component in Home component, where the EventCards component is in ScrollView. Const Home= () => { return ( othercomponents.....
MST intern 2's user avatar
0 votes
0 answers
22 views

Nested ScrollView in swift ui doesn't scroll all the way to the bottom

I am trying to make an app in Swift in Xcode, I have a HomePage with a Scrollview (within that another view with a ScrollView), in the preview of HomePage it scrolls correctly all the way to the ...
DumbProgrammer's user avatar
-1 votes
0 answers
42 views

Scroll View get offset problem is larger than ios 16

I'm trying to create a custom pull to refresh, but I noticed that on iOS 16, this solution will have problems for content with dynamic height offset, below is a video and example I tried it on iOS 15, ...
hoangnam714's user avatar
-2 votes
0 answers
54 views

How to fix the problem of exchange ChatGPT’s content in Scroll View

I am trying to use the sample script and component for the ChatGPT to insert one more SerializeField. I have taken the OpenAI package from this guy (https://github.com/srcnalt/OpenAI-Unity.git) and ...
Alexander's user avatar
0 votes
0 answers
31 views

[Android]The video in the row jumps after I move to 5 videos in React native

Horizontal scrollView with pagination are not work properly as video in mention that somehow i don't know that how to solve this issue How to manage item position like we normal use in vertical ...
Parth Shiroya's user avatar
1 vote
1 answer
50 views

ScrollViewReader ScrollTo notWorking

I'm creating a horizontal menu and I'm using horizontal ScrollView and an HStack to view its items. Everything seems to work but I have a problem with ScrollViewReader.. As you should from the code ...
kAiN's user avatar
  • 2,607
0 votes
0 answers
35 views

Can't correctly scroll to item when ScrollView ignores safe area

For some reason ScrollView should ignore safe area: ScrollViewReader { proxy in ScrollView { ... ... } .onChange(of: model.targetID) { id in proxy.scrollTo(id, ...
Artyom Zagoskin's user avatar
1 vote
1 answer
56 views

How to expand a widget with scroll in Flutter

I want to make a widget like attached photo. According to my search, I have to use CustomScrollView, SliverAppBar. I think this widget have to be ahead of background widget. so, have i to use a Stack ...
ideal_insane's user avatar
0 votes
0 answers
26 views

Expo Android over scroll glitch

I have an annoying glitch when using my expo app on Android. When I use ScrollView with overScrollMode set to 'always' or 'auto' and I scroll bit fast on beginning, I can reach bit further then where ...
Prokop Lošťák's user avatar
0 votes
2 answers
69 views

SwiftUI ScrollView can't scroll down to all the content of ZStack

SwiftUI ScrollView can't scroll all down to all the content of the included ZStack. struct TestView: View { var colors: [Color] = [.red, .orange, .yellow, .green, .mint, .teal, .cyan, .blue, ....
rich's user avatar
  • 3
0 votes
0 answers
29 views

Accessibility focus does not go to next view on DPAD_RIGHT key from the last item in ScrollView in Andorid

As mentioned in the image, I have a Scrollview and LinearLayout2 inside a horizontal LinearLayout Parent in TV screen. The problem is that when there are more items and Scroll is required in ...
Anees U's user avatar
  • 1,087
0 votes
0 answers
38 views

RecyclerView onScrolled Dy value is not dependable

Am trying to achieve an animation in my app by using the amount of scroll in a recycler view to animate outside views that moves at the same pace as the scroll change Currently am using OnScrolled ...
Oussaki's user avatar
  • 1,479
0 votes
1 answer
32 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 ...
Sachin 's user avatar
  • 171
0 votes
0 answers
35 views

Spacer not greedy when in a geometry reader that's inside Scrollview with safeAreaInset

This used to work, but seeing this problem with Xcode 15.0.1 This view works as expected: #Preview { VStack { Text("Header") GeometryReader { geometry in ...
t8_'s user avatar
  • 3
0 votes
0 answers
22 views

onScroll Effect using gsap React js

I have main section in I have a HERO section when I scroll down to horizantle-scroll-wrapper then these 3 boxes should slide from right 100% to 0% onScroll mean when I scrolled down hero then box 1 ...
Muhammad Tehsin's user avatar
0 votes
1 answer
27 views

Scrollview is not working in python kivy app

I will need so much buttons and rows in my app I need scrollbar and scroll view in my other program scrolling is working but in this it is not working from kivy.app import App from kivy.uix.label ...
Gorbacov's user avatar
0 votes
1 answer
59 views

In MAUI[Android], Scrollview doesn't work inside maui.community.toolkit.popup

I have tried the same layout in content page, it works. Its not working only in popup. Below is my XAML code structure. <toolkit:Popup x:Class="MuniLogicMobile.View.ReportsPage" ...
Gnana's user avatar
  • 1
0 votes
0 answers
33 views

Virtualize an ItemsControl within a StackPanel?

I'm trying to achieve virtualization for an ItemsControl that is placed within a StackPanel. The goal is to have a smooth scrolling experience for the entire page, including the ItemsControl, without ...
formeo's user avatar
  • 49
0 votes
0 answers
57 views

Background should not be scrollable on ScrollView SwiftUI

I have a ScrollView that lies on top of a Map. This ScrollView contains Views (with edit buttons and so on) that are expandable. When the view is expanded I cannot click on items on the map that are ...
Hasenburg's user avatar
0 votes
2 answers
38 views

(Horizontal)ScrollView or RecyclerView in this scenario?

I have a list of complex objects. Each object has a lot of information that is being constantly updated from the backend webserver. I expect to normally work with 50-100 such objects. Now, each object ...
MaDudeeK's user avatar
0 votes
1 answer
87 views

ScrollViewReader scrollTo scrolling too much on iOS 15

On iOS 15 there is an issue with scrollTo of ScrollViewReader, it is scrolling too much. I have a button and a date picker, when tapping the button I show the date picker but I want to make sure the ...
Claudiu's user avatar
  • 515
1 vote
1 answer
121 views

SwiftUI: Observing scroll position via View.scrollPosition(id:anchor:) breaks scrolling

I'm trying to use the new (announced at WWDC 2023 and available in iOS 17 and macOS 14) API to observe scroll position of SwiftUI ScrollView. I have the following view, but I can't make it work ...
Tom Kraina's user avatar
  • 3,599
0 votes
1 answer
102 views

SwiftUI Scrollview Freeze with SwiftData Photos

I implemented a simple SwiftUI view that lists photos saved with SwiftData. Users pick photos from PhotosPicker and the photos are saved in SwiftData. Users can long tap any photo to toggle its ...
Sameh Salama's user avatar
0 votes
1 answer
110 views

SwiftUI paged scroll view issue

I'm trying to create an animation for a scrollView to overlap a new page over an image. The image will cover most of the screen and shouldn't move and the text should swipe over it. The animation ...
Lobont Andrei's user avatar
0 votes
1 answer
37 views

Horizontal Scrollview does not scroll correctly in RTL

I have a simple scrollview with a function moveSliderForward as follow: import React, { useState, useRef, useEffect } from "react"; const [selectedIndex, setSelectedIndex] = useState(1); ...
Ali Amjad Hassan's user avatar
1 vote
1 answer
100 views

SkiaSharp canvas in ScrollView is still scrolling when drawing

I cannot find a solution to this what seems a simple issue. I have created a simple skisharp finger painting area which is at the bottom of a scrollview in android Xamarin Forms. this works how ever ...
TryingAgain's user avatar
0 votes
1 answer
64 views

SwiftUI ScrollView margins of each item have increased and cannot be reduced

When I use this method, the margins in my project have increased. I don't know how to handle it. // // ContentView.swift // icbo2 // // Created by 张潇 on 2023/9/30. // import SwiftUI struct ...
Bili_xiao's user avatar
0 votes
0 answers
17 views

Flutter: DragTarget inside scrollable doesn't emit onLeave

I'm using flutter on desktop with a mouse. I put DragTarget inside scrollable ListView, and: press left button on Draggable drag the Draggable on top of DragTarget, onMove called, which is correct. ...
Ziming Song's user avatar
  • 1,206
0 votes
0 answers
63 views

React Native: Limit Swipes to Screen Borders with react-native-gesture-handler

I'm working on a React Native app where I have a horizontal scrolling view using ScrollView wrapped in a PanGestureHandler from react-native-gesture-handler. I want to limit swipes to only be detected ...
rizy's user avatar
  • 3
0 votes
0 answers
10 views

How to scroll specific childe view inside Scrollview outside of button click

I have one scrollview and inside that lots of elements are there like Proudct blokc , color block, size block etc.. I have one Add to cart button at bottom of screen sticky manner and one wishlist ...
Harshal Kalavadiya's user avatar
1 vote
1 answer
145 views

SwiftUI Sheet which contains ScrollView scrolls down when the ScrollView is reaching top

Hey I'm making SwiftUI Bottom Sheet and wanted to put ScrollView inside of the bottom sheet view. The problem is when I scroll the scrollView, I don't want my bottom sheet to react. But whenever I ...
MrGarlic's user avatar

1
2 3 4 5
140