From b62ad4fe3cc61ad8e523e0717ce0f64246df0b55 Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Mon, 25 Jul 2022 11:25:26 +0530 Subject: [PATCH] Fix for DOPMO-182687, Retaining the voice over focus on the selected tab rather than resetting to the top. --- .../Atomic/Molecules/HorizontalCombinationViews/Tabs.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/Tabs.swift b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/Tabs.swift index 4e424549..bb3db689 100644 --- a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/Tabs.swift +++ b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/Tabs.swift @@ -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) + } } }