AccordionSwift icon indicating copy to clipboard operation
AccordionSwift copied to clipboard

Wrong name appears in lower parent cells during expand animation

Open hsnetzer opened this issue 5 years ago • 3 comments

IMG_2252 TRIM

hsnetzer avatar Mar 31 '19 14:03 hsnetzer

@hsnetzer I have not seen this issue. Could you perhaps share the code for reproducing this? It might be that it is in the client-side code for setting up the data source rather than in the framework itself. If it is in the framework, we will fix it but need a bit more info to reproduce it.

DewaldDeJager avatar Oct 15 '19 14:10 DewaldDeJager

I'm In the middle of refactoring my app, I want to help reproduce this but I might have to wait a few weeks. The problem could be that I'm scrolling the table view, like this:

let didSelectParentCell = { (tableView: UITableView, indexPath: IndexPath, item: ParentCellModel?) -> Void in
            tableView.scrollToRow(at: indexPath, at: UITableView.ScrollPosition.top, animated: true)
        }

hsnetzer avatar Oct 20 '19 22:10 hsnetzer

Yeah, the scrollToRow causes funky animations. I demonstrate it in the fork here: https://github.com/hsnetzer/AccordionSwift

hsnetzer avatar Oct 30 '19 20:10 hsnetzer