The table view cell not get deselect after touch
MainasuK opened this issue · 1 comments
Hi~
I'm trying to figure out what's make the table view cell still selected when touch end.
It looks like some hack prevents tableView deselect the cell.
I record a video to reproduce this.
- Tap quickly or hold then release the finger on the cell.
- The cell gets highlighted
Expect:
The cell should go back to the normal style after touching.
RPReplay_Final1634040408.-.02.mp4
Sorry.
I think the demo app did not fit my case. I push to another view controller when tableView delegate tableView(_:didSelectRowAt:)
called. And it's maybe another issue from the paging framework I use.
Update:
The Pageboy framework nest in the bottomVC
somehow makes the UITableViewCell highlighted during swipe (and cancel swipe in the middle of navigation to next tab) . But call indexPathForSelectedRow
on tableView just return nil
. Finally, I setHighlighted
on all visible cells when paging begins to scroll to fix this issue.