You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't the greatest solution, but it could be helpful. Add these code lines to the bottom of the addBlocks() method in BlocksViewController to focus voiceover on a block after placing it instead of focusing on the toolbox:
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1, execute: {
if indexPath != nil {
if let cell = self.blocksProgram.cellForItem(at: indexPath!) {
UIAccessibility.post(
notification: UIAccessibility.Notification.layoutChanged,
argument: cell
)
}
}
})
Sometimes focus goes in the middle of the program instead of the start of the program.
Likely because of setting: collectionView.remembersLastFocusedIndexPath = true
We only want that property to be true right after placing a block, not while placing block
The text was updated successfully, but these errors were encountered: