SwiftUI-Tooltip icon indicating copy to clipboard operation
SwiftUI-Tooltip copied to clipboard

Bounce animation is no longer working properly

Open Mahekaru opened this issue 3 years ago • 0 comments

Describe the bug The tooltip snaps over and snaps back. There isn't a smooth motion as shown in the documentation.

To Reproduce Added a tooltip to my view. I added the configurations as shown in the documetation

var tooltipConfig = DefaultTooltipConfig() init() { self.tooltipConfig.enableAnimation = true self.tooltipConfig.animationOffset = 10 self.tooltipConfig.animationTime = 1 self.tooltipConfig.backgroundColor = .primaryColor self.tooltipConfig.borderColor = .secondaryColor }

the tool tip does show, but the animation is not fluid, it just snaps into place, then back.

Expected behavior The tooltip smoothly glides up and down as shown in the documentation.

Smartphone (please complete the following information):

  • Device: IPhone13
  • OS: [e.g. iOS15.5]

Additional context Add any other context about the problem here.

Mahekaru avatar Jun 28 '22 15:06 Mahekaru