dominikbutz / swipecellsui Goto Github PK
View Code? Open in Web Editor NEWSwipe cell for iOS with SwiftUI
License: MIT License
Swipe cell for iOS with SwiftUI
License: MIT License
I've found that using this awesome package within a navigationController works perfectly well, but if you set navigationController?.hidesBarsOnSwipe = true (to mimic Safari app behaviour where the navigation title disappears on scroll) it interferes with the swipe gesture for this package, resulting in no left/right swipe functionality.
Is there a suggested workaround for this which supports iOS14? Thanks.
The README
states
The purpose is to replace the default SwiftUI List .onDelete(perform: ...) modifier since its functionality is limited to deletion only and only works on List rows. Moreover, rows in an iOS 14 LazyVStack do not support swipe to reveal out of the box.
...but the example only uses the ScrollView->LazyVStack
setup. Is this only intended for use with a ScrollView->LazyVStack
setup, or should this work with List
as well?
I've tried using it within a List
, but it blocks the ability to scroll. If it's not intended to work with List
, then I'm obviously using it wrong, which would explain the problem.
Hi, first thank you! Great work. You should enable discussions in the repo, it's easier for question.
How do I left alight the text appearing on the cells? Right now it's centered
When accessibility open VoiceOver says the systemImage name every time on the cell. I can avoid this using anyView instead of systemImage. But I think we shouldn't use anyView inside ForEach loops.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.