Setting focus during view appearance does not consistently work
Originator: | darren.mo | ||
Number: | rdar://FB13448751 | Date Originated: | 2023-12-05 |
Status: | Open | Resolved: | |
Product: | SwiftUI | Product Version: | iOS 17.2 Seed 3 (21C5046c) |
Classification: | Incorrect/Unexpected Behavior | Reproducible: | Always |
I have attached a sample project demonstrating a view that sets the focus to itself when it first appears. The view is focused initially. However, on subsequent appearances, the view no longer becomes focused. This issue occurs on both macOS and iOS.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!