Comments (7)
Hey
In the video I see a red background
But you're saying the buttons aren't functional
Anyway, the only thing you need to do is making sure zPosition is provided correctly for each cell
See https://github.com/amirdew/CollectionViewPagingLayout/blob/master/Lib/TransformableView.swift
func zPosition(progress: CGFloat) -> Int
I can help better if you share a simple version of your code
Or use one of the examples to replicate the issue
from collectionviewpaginglayout.
I'm using StackTransform and I have a red background to see if actual cell is moving but cell is not moving
from collectionviewpaginglayout.
The cell doesn't move, the transform only applies to the 'cardView',
'cardView' is the first subview of the cel's 'contentView' by default, you can change it though,
See https://github.com/amirdew/CollectionViewPagingLayout/blob/master/Lib/Stack/StackTransformView.swift
But you don't need that you can just move all of the views to a subview
from collectionviewpaginglayout.
Here is my code which I am currently building. Would be great if you could have a look and help me to fix the issue?
CollectionViewPagingLayoutTest.zip
from collectionviewpaginglayout.
Hey
In the video I see a red background
But you're saying the buttons aren't functionalAnyway, the only thing you need to do is making sure zPosition is provided correctly for each cell
See https://github.com/amirdew/CollectionViewPagingLayout/blob/master/Lib/TransformableView.swift
func zPosition(progress: CGFloat) -> Int
I can help better if you share a simple version of your code
Or use one of the examples to replicate the issue
Thanks for your comment. I've played with Z position but it didn't help. Still buttons are not clickable after swipe.
from collectionviewpaginglayout.
I just checked your code, I noticed you copied the code to your project so it was outdated or modified version.
I changed it to Swift package manager and everything works now.
Sorry for delay, I had a busy week
CollectionViewPagingLayoutTest.zip
from collectionviewpaginglayout.
I just checked your code, I noticed you copied the code to your project so it was outdated or modified version.
I changed it to Swift package manager and everything works now.
Sorry for delay, I had a busy week
Hi. Thank you very much! Now everything is working. I've got only few layout issues but i will try to fix them :) Thank you again!
from collectionviewpaginglayout.
Related Issues (20)
- swiftui ensure currentPage is greater than or equal to zero to prevent Index out of range error HOT 1
- Xcode 13.3 and swift version 5.6 Archiving issue ### HOT 1
- Hello, I encountered a problem with UI debugging or description during the development process HOT 1
- Vertical orientation of items HOT 1
- Suggestion for automatic looping scroll
- RTL support for layout HOT 2
- Using ScrollViewReader
- swiftUI use ScalePageView NavigationBar always showing HOT 12
- Strange SwiftUI navigation behavior when using CollectionViewPagingLayout HOT 1
- 新版为什么仅支持iOS13?? HOT 1
- Start on specific page in ScalePageView HOT 2
- How to handle button click event in cell with ScaleTransformView? HOT 1
- About Mac App HOT 2
- Compile time issue HOT 2
- Where is the LayoutDesigner sample app code hosted? HOT 1
- Question on memory leak HOT 1
- Is support objc?
- How to make the layout vertical instead of horizontal?
- TransformPageView RTL dragging is reversed
- View would blink and scrolling when the list changed
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 collectionviewpaginglayout.