-
Notifications
You must be signed in to change notification settings - Fork 168
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
UITableView Not working properly. #62
Comments
I'm having the same issue, here is a video illustrating the bug: It seems to happen when you scroll up rapidly and it bounces at the top. Here is the code I used to reproduce the issue: class TableViewController: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cell")
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 40
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
cell.textLabel?.text = "IndexPath is \(indexPath)"
return cell
}
} And change https://github.com/HarshilShah/DeckTransition/blob/master/Example/Source/ModalViewController.swift#L47 to |
Thank you for filing a bug and for the detailed reproduction. I'm gonna need to look into this a bit more, but the repro steps help a lot! |
Are you working on ? |
It’s on my list but I haven’t had much time unfortunately. Happy to look at others’ solutions if anyone has taken a shot. The fixit above to comment some lines breaks the bounce back behaviour so it can’t be used. |
Minor regression being the scroll view still bounces at the top even though the parent view controller bounces. Bug to track: HarshilShah#62
Hey Harshil,
A Big Thanks for this Library
i've implemented this library and i'm trying to show list on the presented ViewController and for that i've implemented
UITableView
with all required delegates & datasources.Issue
I found that there is a strange problem while i scroll the tableView.
UITableViewCell
doesn't reuses properly. while scrolling, it randomly hidesUITableViewCell
.i've checked it twice that this is not the improper implementation of
UITableView
.The text was updated successfully, but these errors were encountered: