-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AllowSwipeToTrigger() does not work on newly added cells after fetching data #12
Comments
Weird. Maybe something to do with VariadicView |
Temporarily solution, hope this helps. ISSUE: SOLUTION:
|
Having the same problem, in a ScrollView-LazyVStack-ForEach construction. Since my usecase is fairly simple, just having one SwipeAction for each direction, is just changed the default to true:
|
Indeed happening here as well - something is causing the preference key to reset back to the default (probably some identity change). Wasn't able to figure it out as well but it's easily reproducible :( |
I'm implementing infinite pagination scrolling, where I have to fetch new data and draws the new cells in a ScrollView (in a LazyVStack). For some reason, the allowSwipetoTrigger modifier doesn't apply to new cells being added to the list.
Anyone has any insight why that might be the case? Thanks!
The text was updated successfully, but these errors were encountered: