milnel2 / blocks4alliOS

MIT License
5 stars 5 forks source link

voiceOver focuses on wrong block when placing block #292

Open lucyrubin opened 2 weeks ago

lucyrubin commented 2 weeks ago

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

lucyrubin commented 1 week ago

helpful way to force focus: UIAccessibility.post(notification: .screenChanged, argument: self.blocksProgram)