mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
VoiceOver: RoomVC: Make VoiceOver focus on the contextual menu when selecting an event
#2721
This commit is contained in:
@@ -117,11 +117,15 @@ final class RoomContextualMenuViewController: UIViewController, Themable {
|
||||
func showMenuToolbar() {
|
||||
self.menuToolbarViewBottomConstraint.constant = 0
|
||||
self.menuToolbarView.alpha = 1
|
||||
|
||||
// Force VoiceOver to focus on the menu bar actions
|
||||
UIAccessibility.post(notification: .screenChanged, argument: self.menuToolbarView)
|
||||
}
|
||||
|
||||
func hideMenuToolbar() {
|
||||
self.menuToolbarViewBottomConstraint.constant = self.hiddenToolbarViewBottomConstant
|
||||
self.menuToolbarView.alpha = 0
|
||||
UIAccessibility.post(notification: .screenChanged, argument: nil)
|
||||
}
|
||||
|
||||
func prepareReactionsMenuAnimations() {
|
||||
|
||||
Reference in New Issue
Block a user