swipe misses focus
This commit is contained in:
@@ -383,7 +383,11 @@ private struct SwitcherBox: View {
|
||||
.shadow(color: .black.opacity(0.18), radius: 14, y: 8)
|
||||
.onAppear {
|
||||
DispatchQueue.main.async {
|
||||
logFocus("switcher before focus")
|
||||
focused = true
|
||||
DispatchQueue.main.async {
|
||||
logFocus("switcher after focus focused=\(focused)")
|
||||
}
|
||||
}
|
||||
}
|
||||
.onChange(of: model.focusRequest) {
|
||||
|
||||
Reference in New Issue
Block a user