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

didSelectRowAt: and other selection methods not calls without definition shouldHighlightRowAt: #45

Open
DeleteMyAccount728 opened this issue Oct 10, 2018 · 4 comments

Comments

@DeleteMyAccount728
Copy link

Can try it on ExpandableCellDemo, if comment this method:
func expandableTableView(_ expandableTableView: UITableView, shouldHighlightRowAt indexPath: IndexPath) -> Bool { return true }
then all cells will not be selectable.
Conclusion, that shouldHighlightRowAt: required for cells selection

@Dilan1020
Copy link

Thank you man

@alauthor
Copy link

Thanks

@bennyjamone
Copy link

This is the only place on the Internet (unbelievably) that I have managed to find out that didSelectRowAt will not be called if shouldHighlightRowAt is false. Why this is the case, I do not know. Cell highlighting looks awful.

@Annacheckingin
Copy link

Thank you man! God! i wasted my 4 hours on that!

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

5 participants