Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounce animation is no longer working properly #22

Closed
Mahekaru opened this issue Jun 28, 2022 · 0 comments · Fixed by #26
Closed

Bounce animation is no longer working properly #22

Mahekaru opened this issue Jun 28, 2022 · 0 comments · Fixed by #26

Comments

@Mahekaru
Copy link

Mahekaru commented Jun 28, 2022

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.

bring-shrubbery added a commit that referenced this issue Aug 28, 2022
bring-shrubbery added a commit that referenced this issue Aug 28, 2022
* Impoved file structure

* Refactored View extension to be more readable

* Small refactors to have less logic in the TooltipModifier

* Fixed animation issue #22

* Added zIndex to the config. Fixes #17

* Added width/height functionality to configuraton. Fixes #25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant