Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating to the latest version, my cells are now not responding to being selected #28

Open
ashleighxi opened this issue Jan 4, 2018 · 10 comments

Comments

@ashleighxi
Copy link

Whenever i tap onto a cell it won't expand anymore. The openAll() function works, but putting open(indexPath) in the didSelect method does nothing for me.

@gouen95
Copy link

gouen95 commented Jan 5, 2018

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..

@gouen95
Copy link

gouen95 commented Jan 5, 2018

Hi, I think I found the problem. Try to return TRUE to shouldHighlightRow delegate of ExpandableTableView.

@seanonthenet
Copy link

I had this also. Went back a version.

@Sunnymous
Copy link

I faced the same problem. Solved it by going back to ver 1.2.0.
Going back to 1.2.1 doesn't work.

@ashleighxi
Copy link
Author

@gouen95 your solution worked for me. i would recommend you guys trying this @Spark3000 and @Sunnymous

@Sunnymous
Copy link

@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

@kublaios
Copy link

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?

@kublaios
Copy link

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.

@Rdxer
Copy link

Rdxer commented Sep 14, 2018

重用有问题, 已经在使用 cell 会被强制回收,
Reuse has a problem, has been in the use of the cell will be compulsory recycling,

@Rdxer
Copy link

Rdxer commented Sep 14, 2018

wx20180914-144916 2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants