I have a ScrollView with several Buttons and a .refreshable modifier. As soon as I pull to refresh and the refresh indicator appears, the tap targets no longer match the visible button positions. For ...
The following code fails to update scrollPosition in SwiftUI ScrollView when the user auto-scrolls, i.e. swipes the finger to scroll and picks up the finger immediately. While the scroll view ...
I observed a weird behavior and I believe it's a bug in SwiftUI but maybe it's not or someone knows a way to fix it.By default, overlays have the same size as the view they are attached to in SwiftUI....
I have the following code of a scrolling scrubber. Problem is programatic scrolling either on startup ('onAppear') does not work, and even in the middle it is unpredictable where sometimes it works ...
I'm trying to create a paginated text element that loads strings from a simple array (of unknown range), which can be navigated through using a 'next' button.Think of character dialogue boxes in old-...
I’m trying to implement a collapsible header in SwiftUI that collapses when the user scrolls down and expands when the user scrolls up.I followed this Medium post: Collapsible Header in SwiftUIThe ...
I am trying to recreate this view from an app. essentially its two repeating/infinite scrollable views. the top contains the days of the week, and the bottom is a paging view that shows the classes on ...
I have a discrete scrubber implementation using ScrollView in SwiftUI that works but fails in the end points sometimes. For instance, scrolling it all the way to bottom shows a value of 87 instead of ...
I have a NavigationStack that contains a ScrollView at the bottom of the screen.struct ContentView: View { var body: some View { NavigationStack { VStack { ...
I’m working on a kanban-style app with a horizontal scroll view of columns representing different states. Each column contains some text elements. I want the columns to adjust their width based on the ...
I need view like this in order to have fixed size form with scrollable capability.I have disclosure groups, buttons and textfields inside form.struct ContentView: View { var body: some View { ...
I have a view called SurahView. In this view, I need 2 modes: translation and reading.In the translation mode, I have a series of verses with both the Arabic text and English text for each verse.In ...
In code below, when the list has more items than can fit on the screen, when the keyboard is dismissed the list items flicker, appear jittery. I have not been able to find a solution. I suspect ...
This code shows a cover-flow-style view where you can scroll through the images in a Scroll View, while the images itself come from an array. The spacing is -100 to let the other pictures not in the ...
I have the following scrubber implementation in SwiftUI. The + button is supposed to move the ScrollView up by 1 tick (or scrollPosition incremented by 1) but the issue is no scrolling happens until I ...