Why onTapGesture is called after clicking on empty space in SwiftUI?

前端 未结 0 1517
野的像风
野的像风 2021-01-12 18:23

I can\'t figure out why when clicking between elements, the handler is called in onTapGesture. Am I doing something wrong?

    struct ContentView: View {
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题