Home > OS >  Why does SwiftUI opacity animation fail in Gesture's onEnded method?
Why does SwiftUI opacity animation fail in Gesture's onEnded method?

Time:01-21

As shown in the gif below, the second tap on the purple rectangle does not trigger the animation for the blue rectangle to fade in. Is this a Bug or an obscure Feature?

Thanks for your kind reply!

enter image description here

  •  Tags:  
  • Related