Closed shroff-kandarp closed 6 years ago
I found problem. self.tabBar.animate(to: self.tabBar.tabItems[index])
Add above line in function in file "TabsController.swift"
private func internalSelect(at index: Int, isTriggeredByUserInteraction: Bool) -> Bool { guard index != selectedIndex else { return false }
if isTriggeredByUserInteraction {
guard !(false == delegate?.tabsController?(tabsController: self, shouldSelect: viewControllers[index])) else {
return false
}
}
### self.tabBar.animate(to: self.tabBar.tabItems[index])
transition(to: viewControllers[index], isTriggeredByUserInteraction: isTriggeredByUserInteraction) { [weak self] (isFinishing) in
guard isFinishing else {
return
}
self?.selectedIndex = index
}
}
Latest code is a little bit different, we have tabBar.select(at: index)
there:
Okay. Thanks. I have old version of this library.
The code I pointed is from development branch. It might not be in release
Thank you @OrkhanAlikhanov. @shroff-kandarp if you have any further questions, or another issue, please reopen or create a new one. Thank you!
Hey! Can you share a minimal sample project replicating the issue?