Comments (2)
I'll dig into this a bit more later, but generally the only time an animation should reset is if Flutter re-initializes its state. I'm not too sure why that would occur in this case, but my guess it relates to how Tooltip is managed by the framework.
Leaving open to investigate further.
from flutter_animate.
Did a quick bit of testing, and it seems to confirm that the Tooltip, or at least its children are rebuilt when the mouse enters/leaves and Flutter doesn't maintain their state. I was able to work around it by assigning a GlobalKey
to the Animate
instance. Not ideal, but this seems more like a framework limitation than anything specifically wrong with the library.
Feel free to reopen if appropriate.
from flutter_animate.
Related Issues (20)
- Combining 2 scaleXY is buggy HOT 1
- Can't get animation to run when calling set state HOT 2
- animate has no property controller on widget list HOT 1
- How do I restart an animation when a widget gets rebuilt?
- Animate custom property with minimal boilerplate (Similar to Implict Widgets) HOT 2
- feature request: clone "xyz extension" documentation to chaining methods HOT 3
- Animate widgets Bug on app release mode
- Allow onInit to prevent play
- max for repeat play only once HOT 1
- Having two Widgets with the same AnimationController can cause errors HOT 3
- Defer animation on list items until scrolled into view HOT 2
- Setting autoPlay to false but defining an onPlay callback tints the console yellow HOT 2
- Kindly Add VISUAL (gif) images on the pub.dev page, for most common animations woth example HOT 3
- [Question] Why is this behaviour happening? HOT 1
- The `flip` effect HOT 1
- How to use different animations delay on appear than on going away HOT 1
- Cannot Nest multiple animated instances in order to separately control two animations in a single widget HOT 1
- Target ignores the reset of a bloc state and triggers the animation HOT 1
- hi i have a issue with using arabic text HOT 1
- kindly update and support and improve for web as well
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_animate.