Fix for DOPMO-182687, Retaining the voice over focus on the selected tab rather than resetting to the top.

This commit is contained in:
Sumanth Nadigadda 2022-07-25 11:25:26 +05:30
parent 2f10bf0ffe
commit b62ad4fe3c

View File

@ -258,6 +258,9 @@ extension Tabs: UICollectionViewDelegateFlowLayout {
} else if let action = tabsModel.tabs[selectedIndex].action {
MVMCoreActionHandler.shared()?.asyncHandleAction(with: action, additionalData: [KeySourceModel: tabsModel], delegateObject:delegateObject)
}
if UIAccessibility.isVoiceOverRunning {
UIAccessibility.post(notification: .layoutChanged, argument: tabCell)
}
}
}