Comments (5)
I'm currently overseas but will have a look into this as soon as I can! Should be relatively straightforward to implement support via UIKit :)
from ascollectionview.
+1
Struggling with same issue and don’t know what should I do.
from ascollectionview.
I've made a start by adding support for UIContextMenuConfiguration
to the dev branch. See the 'magazineLayout' demo page for an example 🎉.
We could wrap it further to make a clearer struct-based API, however the UIKit method is relatively straightforward and allows for complexities such as nested menus - so I'll leave it be for now 👍
Interestingly, during my testing I found that constraints were broken even in a pure UIKit Collectionview using contextMenus (with no ASCollectionView or swiftUI involved). So sounds like there's also a UIKit bug :/ gladly it's just an annoying log message!
from ascollectionview.
I should also note that this seems to fix the SwiftUI bug with dynamicContent/Buttons not displaying 🎉
from ascollectionview.
Wow! I also think that it’s a great implementation as is (miles better than the SwiftUI one which has no support for sections, and nesting, and can’t properly display icons, etc.). Thanks for investing your time in it!
from ascollectionview.
Related Issues (20)
- scrollPositionSetter is not working HOT 2
- Crash on iOS 15 occurs when sections do not have a .sectionHeader HOT 10
- Pod version appears not updated since 1.7.1 HOT 2
- iOS 15, ASCollectionView causes .sheet() to pop unexpectedly HOT 3
- Pull to refresh in iOS 15 with large title issue HOT 1
- No such module 'DifferenceKit' Xcode 13 HOT 1
- A bit sticky Drag & sort
- Terminating app due to uncaught exception 'NSInvalidArgumentException'
- ASCollectionView with horizontal scroll direction showing section header on side instead of top.
- macOS Support HOT 1
- ASCollectionView doesn't support ASSection with swipeToDelete?
- ASCollectionViewDelegate: support fast index scrolling?
- The operation couldn’t be completed. (SwiftPM.SPMRepositoryError error 3.)
- onScroll CPU issues HOT 1
- Unable to set scroll position of a cell
- Keep Showing Hidden Navbar
- Paging style ASTableView
- ASTableView warning (view does not load)
- Crash on IOS 16 HOT 1
- IOS16: NSInternalInconsistencyException: UICollectionViewLayoutAttributes: -setSize: requires finite dimensions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ascollectionview.