Comments (7)
@ckpearson did an AnimatedListView give you the same behavior ? If you get a chance to go back to that issue, try testing it with both CanContentScroll="True" and then "False" to see if any help.
from xamlflair.
@ckpearson would you by any chance have a small sample project that reproduces the issue?
from xamlflair.
@XamlFlair Unfortunately not, however I've (for now) decided to not use the animated list controls, and instead go with an ItemsControl and just have a primary animation on each item there, that's done the trick.
from xamlflair.
Sadly not, AnimatedListView
and AnimatedListBox
both exhibit the behaviour of only animating the first element to be added.
I didn't test whether adding a bunch of items at the same time would result in those elements being animated.
But I've got a "test" button rigged that inserts an item into the collection each time it's clicked, and in all instances using the Animated(ListView/ListBox)
controls only ever animated the first element.
The Loaded
events on each element were being fired, so as far as I can tell I'd expect the animations to trigger on each element.
For now though, switching to an ItemsControl
and just having each element in there have a Primary
animation has fixed my initial issue.
from xamlflair.
@XamlFlair thanks for the suggestion! If I pick those controls up again I'll be sure to give it a go.
My guess is something is off about it determining whether to display the animation, perhaps for whatever reason it thinks they're not visible or something.
Pure speculation at this point sadly.
from xamlflair.
@ckpearson Thanks! Keep me posted. For reference, this is the method that is responsible for kicking off an item animation when you add one. I will eventually try to repro this and see if a fix is needed:
from xamlflair.
Closing due to inactivity.
from xamlflair.
Related Issues (20)
- PointerOver on Border HOT 6
- XamlFlair.WPF 1.2.13 not animating Fadeout HOT 5
- Is it possible to add a `DiscreteObjectKeyFrame` into `CompoundSettings.Sequence`? HOT 2
- Can I export animation as a video or as a series of image files? HOT 2
- The visibility of this project is still not easy to use HOT 2
- How can I get documentation? HOT 2
- How to disable the mouse-over effect for the AnimatedListView item? HOT 4
- WPF Question: Is it possible to start an XAML-FLair Animation from C# Code ? HOT 3
- Using XamlFlair in a WiX setup wizard HOT 14
- WPF - Handles count keep increasing HOT 3
- [Feature request ] Use ColorTo animation on border in WPF HOT 3
- Animation start with button click HOT 9
- Any possible for adapting Avalonia HOT 9
- pay HOT 1
- Offset must be a double or a star-based value (ex: 150 or 0.75*). HOT 5
- Problem installing nuget package for WPF HOT 5
- Not working with Uno >=3.10 HOT 5
- AnimatedListView background turns white when other animations are playing HOT 8
- The animation is only played for the first time HOT 17
- When the AnimatedListView is collapsed and expanded again, the ListViewItem state is reset HOT 4
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 xamlflair.