younatics / ExpandableCell

✨ Awesome expandable, collapsible tableview cell for iOS written in Swift 5
MIT License
773 stars 124 forks source link

Method with list of table cells being returned not being called on row selection. #24

Open issue01001 opened 7 years ago

issue01001 commented 7 years ago

Ever since I updated to the newest version, I am unable to expand my expandable cells when I click on the containing row. The selection of the row isn't being triggered and I am not getting asked for the list of table view cells anymore. I don't seem to have this issue with a normal table view and can detect selection and handle it just fine.

Before updating from the 1.1.0 pod version, I was able to actually enter the func expandableTableView(_ expandableTableView: ExpandableTableView, expandedCellsForRowAt indexPath: IndexPath) -> [UITableViewCell]? method and return my cells; but had an issue where everything would be rendering on top of each other or just in weird locations on the table when more than 1 expandable row was expanded at a time.

Any help would be appreciated. Thanks in advance.

arezogh commented 6 years ago

I have the same problem :(

anomaddev commented 6 years ago

I am having the same issue on version 1.2.3

pikaboo commented 6 years ago

Please make sure you are overriding expandableTableView:shouldHighlight: There is a similar method in UITableViewDelegate, don't override that