Comments (8)
@phalladar I'm unable to reproduce it, tried with only one cell & one row. Yes please.
from gliding-collection.
Fixed in 1.0.3
from gliding-collection.
@phalladar please make sure that you're assigned a delegate
property and you're not going to check willExpand
or didExpand
methods, since they not going to fire because if you have only one row there is no way to actually expand
.
Note that in demo project delegate
is not configured.
from gliding-collection.
Hey @jauzee, the delegate is assigned which is why I'm receiving didSelect
events for all rows with more than 1 cell. Are you not able to reproduce this? If not I can make a sample project for you.
from gliding-collection.
Here's the repo with my code: https://github.com/phalladar/gliding-bug
You'll notice that didSelect
is not called for rows 3 and 4 where only one cell is present.
Appreciate you taking a look.
from gliding-collection.
@phalladar got it. This issue actually related to transition animation which have a bug inside of it (it remains overlay layer so we can't tap a cell more). I'll try to fix it asap.
from gliding-collection.
Awesome. 👍
from gliding-collection.
This bug still happen on 1.10 version.
I test the demo, also repro this bug by removing all image for the first item:
private func loadImages() {
for item in items {
let imageURLs = FileManager.default.fileUrls(for: "jpeg", fileName: item)
var images: [UIImage?] = []
for url in imageURLs {
guard let data = try? Data(contentsOf: url) else { continue }
let image = UIImage(data: data)
images.append(image)
}
self.images.append(images)
}
self.images[0].removeAll()
}
from gliding-collection.
Related Issues (8)
- network data HOT 3
- Collectio view HOT 1
- Broken Horizontal Sliding When Card Size Change HOT 1
- Custom Category Header Views HOT 1
- Custom Cell Size Based On expandedItemIndex HOT 1
- Gliding-collection for android HOT 1
- can not click the first item if some array does not have image on version 1.1.0 HOT 2
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 gliding-collection.