Comments (10)
Hi, I think I found the problem. Try to return TRUE to shouldHighlightRow delegate of ExpandableTableView.
from expandablecell.
@gouen95 your solution worked for me. i would recommend you guys trying this @Spark3000 and @Sunnymous
from expandablecell.
Sorry about flooding but if you want to prevent highlight effect and also work this problem around, just do as @gouen95 says and then set cell.selectionStyle = .none
in your func expandableTableView(_ expandableTableView: ExpandableTableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
method.
from expandablecell.
I am facing the same problem too. I've tried to register a tapgesture to the particular tableviewcell and assign the tableviewcell's tag as the indexPath.row. After that I tried to use open(indexPath(row: sender.view.tag, section: 0)), it works but it is faulty for me because the data isn't displaying correctly and sometimes disappearing..
from expandablecell.
I had this also. Went back a version.
from expandablecell.
I faced the same problem. Solved it by going back to ver 1.2.0.
Going back to 1.2.1 doesn't work.
from expandablecell.
@huntergray11 Thanks. Now I can use the newest version of this library.
But because of other serious defect, I don't think I can use this library.
The problem still remains in the newest version(1.2.2)
If anyone's interested, please check issue #23
from expandablecell.
Returning true
from shouldHighlightRowAt
method worked for me as well but that also means I can't have rows expandable without the highlight effect. Is this a bug or an expected behavior?
from expandablecell.
重用有问题, 已经在使用 cell 会被强制回收,
Reuse has a problem, has been in the use of the cell will be compulsory recycling,
from expandablecell.
from expandablecell.
Related Issues (20)
- issue with tabbar controller HOT 5
- How to design and create custom in all type of cell.
- Error: Cell become white when scroll Table View HOT 3
- How to have sections in expandable cell HOT 3
- Pushing a UIViewController results in empty cells HOT 3
- Event for after cell expansion or collapse
- ExpandableCell protocol
- Wrong indexPath in didSelectExpandedRowAt delegate HOT 2
- Swift Package Manager Support
- Please enable override func for open and close arrow image
- Compiler error HOT 2
- expandableTableView.scrollToRow(at: index, at: .top, animated: true) HOT 1
- Prevent Default Expandable Cell Expansion
- TableView freeze after pushing new ViewController HOT 7
- App Crashing
- How to use a Dynamic Data Source?
- App Crashing on expandableTableView(_:expandedCellsForRowAt:)
- How to get IndexPath of parent list when one or more cells are expanded.
- Reload not working as intended only in iOS15 HOT 2
- How to use this at Objective c project?
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 expandablecell.