Merge branch 'feature/selectionLineIssueIOS' into 'release/10_6_0'
bill Tabs Shifty red selectionLine issue fixed MVA | Bill | Tab Control_Changes tab Alignment issue https://onejira.verizon.com/browse/CXTDT-393056 Co-authored-by: teegsh2 <Suramba@77> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/945
This commit is contained in:
commit
66908d800f
@ -235,7 +235,9 @@ extension Tabs: UICollectionViewDelegateFlowLayout {
|
||||
public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
|
||||
guard let tabCell = cell as? TabItemCell else { return }
|
||||
if indexPath.row == selectedIndex {
|
||||
moveSelectionLine(toIndex: indexPath, animated: false, cell: tabCell)
|
||||
DispatchQueue.main.async {
|
||||
self.moveSelectionLine(toIndex: indexPath, animated: false, cell: tabCell)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user