Comments (11)
stale since 2016
from animator-css.
without a full example it's hard to replicate the issue, but I guess it might be because you've placed the class au-stagger
onto the template tag. Please try to wrap the animated divs with another div and place the au-stagger over there, like
<template>
<div class="au-stagger">
<div repeat.for="item of feedbackService.items" class="au-animate feedback-item level-${item.level}">
<a click.trigger="feedbackService.removeItem(item)" href="#" class="fa fa-times-circle"></a>
<p>${item.message}</p>
</div>
</div>
</template>
from animator-css.
After a lot of trial-and-error I've found that the problem only occurs when there's interpolation in the animated element's class
list.
I've created an Plunkr demonstrating the issue. The top three items have class interpolation, the bottom three don't. See what happens when you try to remove item number 2.
from animator-css.
hmm I've looked at your example few times and don't really have a clue what the error or bug is you're trying to point out.
from animator-css.
That's strange... I'm seeing this bug in both Chrome and Firefox. Here's a screencast of what I'm seeing:
When I click to remove item 2, it briefly becomes blue before folding. Same thing when I remove item 1. This happens with the top three items which have an interpolated className, but not the bottom three that use inline styling.
You're not getting this?
from animator-css.
oh ok now I understand what you mean. Yep I can see the same effect. Hmmm honestly I have no clue whats causing this, guess maybe something related to how the ViewSlots are added and removed. @martingust and @EisenbergEffect do you maybe have an idea whats causing the issue with the class interpolation?
from animator-css.
Any progress on this?
from animator-css.
@RomkeVdMeulen I have analyzed this issue (today) and I think I know where the problem lies. I'll get back to you on this.
from animator-css.
@niieani Did you have any feedback on this?
from animator-css.
Haven't had the time to work on this yet, just did some preliminary assessment. It's on my list though.
from animator-css.
I ran into this issue again today so I thought I'd poke this old issue in the hopes it won't be completely forgotten.
from animator-css.
Related Issues (20)
- Firefox throws "SecurityError" exception HOT 3
- Animation for new view is completely finished before animation for old view starts HOT 4
- Animations issue in firefox HOT 3
- Long animations can lead to invalid DOM state. HOT 4
- el.addEventListener not a function
- Concurrent Animations not working HOT 5
- Animator interfering with other CSS Transitions HOT 2
- Last item does not animate HOT 2
- How to use this plugin, have no doc ? HOT 4
- Typescript definitions HOT 4
- show and animation HOT 20
- Infinite scrolling animation delays accumulate HOT 4
- update aurelia-templating to v1.1.4 HOT 1
- Throw an error that is view.bindingContext is null when use au-stagger with if.bind and push item to empty array HOT 1
- wrong classes applied when re-animating an element whose child elements are also animated
- Add toggleClass() to the animation abstraction
- ngRepeat animation (feature) HOT 1
- Support CSS3 transition
- Animation flickers HOT 2
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 animator-css.