Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
174 views

The following code will render a list of items and a button to shuffle them and change their height withAnimation. If you scroll down and shuffle it you will eventually see glitches in the animation, ...
0 votes
1 answer
254 views

I am trying to create a ScrollView with a LazyVStack where two headers are pinned at the top. It should also work within a NavigationStack using large display mode for the title. Both headers should ...
1 vote
0 answers
71 views

I want to set the scroll position of a ScrollView containing a LazyVStack such that it shows a view nested arbitrarily deeply within that stack. Currently I give the view which should be scrolled to ...
0 votes
1 answer
572 views

Here's a full code example of an attempt at a double sticky header view: struct ContentView: View { var body: some View { ScrollView(showsIndicators: false) { LazyVStack(...
soleil's user avatar
  • 13.3k
0 votes
0 answers
81 views

I am having some issues with sticky footers on PinnedScrollableViews in SwiftUI for iOS. I am working on a LazyVStack embedded in a ScrollView with footers on each section of the LazyVStack. The size ...
1 vote
2 answers
278 views

I have a `PhotosPicker` that selects an image. Then, upon pressing the "Save" button, I save it in `FileManager` and store its path in `CoreData`. When I need to retrieve them, I use a `...
0 votes
1 answer
172 views

My problem is with SwiftData not updating the object which is used with @Query. here are my code This is my View which used to show list of books, struct ReadingView: View { @Environment(\....
0 votes
0 answers
400 views

I'm working with SwiftUI and trying to do a ScrollView that can be filtered (it's basically a list). The stack looks like this: class ViewModel: ObservableObject { @Published var isRefreshing =...
1 vote
0 answers
221 views

I am trying to write my own MyScrollView to manage scroll. I am doing this because I want to have a LazyVStack with items that have varying heights and for which I can scroll to any item inside. So, ...
1 vote
0 answers
225 views

I have problem with zIndex in my app with collection of images I've added pinch zoom to the image, but when image is zoomed it does not get on top of other images which are next in the collection. ...
3 votes
1 answer
1k views

I have a stack of cards, each card having a TextField, when focus a text field positioned at the bottom of the screen (on the area where the keyboard will appear) the card disappears, thus the ...
2 votes
1 answer
2k views

I'm trying to create sticky header with manual scroll to functionality (eg. categories bar allowing user to move to chosen section). I have issues with one part of that functionallity. While ...
1 vote
1 answer
773 views

I want to print the currently displayed item in LazyVStack which is inside scrollview with paging enabled. i have tried printing in onAppear of VerseView The issues with printing inside onAppear are- ...
3 votes
3 answers
1k views

I use LazyVStack because I need to load a big list of elements, LazyVStack helps with loading fewer elements, hence the scroll bar/indicator does not know the real size of the list, causing ...
0 votes
0 answers
217 views

There is very poor performance when pulling scroll bar indicator to bottom and scrolling cells with big ordinal numbers. But if we comment empty ViewModifier applied to cell, everything became ok. ...

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /