-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix: AnimateCSS merge hide() and show() animated css class when we do multiple call #3200
Conversation
… multiple call * rewrite animateCSS fonctionality * don't use promise and use timer (like default) * use addAnimateCSS / removeAnimateCSS * use hasAnimateIn / hasAnimateOut for set actual animation (internal using) * check if animation is used (hasAnimateXXX) and reset it if needed before display new animation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## develop #3200 +/- ##
========================================
Coverage 25.28% 25.29%
========================================
Files 54 54
Lines 11892 11927 +35
========================================
+ Hits 3007 3017 +10
- Misses 8885 8910 +25
|
yes, the tests are flaky, as was said 100 times.... What would I give if someone would find the reason for this.... |
Tested with a special module (for remote using) with hide() show() function:
It's ok for me ;) |
We are pushing this for v2.25 I plan to simplify the code for v2.26 Is it ok for you? |
Ok with me as long as the config API doesnt change |
Don't worry about this. It's difficult to have what we want, so I will not change ;) |
so this PR is ready to merge in your opinion? |
Let me test until Wednesday. I will be able to test it at home in depth on my MM² Prod (with rpi) (reality always takes precedence over a test with many modules rather than with one or two) I will come back to you, once this is done |
me too, but it is very hard to solve a timing issue which is 99% not reproducable locally |
I think it's +/- related to node v20 version used by github (maybe buggy version) Actually we don't have "any" problem with node v18 test suite We have faculty to choose another node v20 version ? honestly, I never see how it works. |
the e2e tests are also (sometimes) failing in my docker tests ... (more often with v20 but also sometimes with v18) for me it looks like a previous test has sometimes not finished when next test is starting feel free to look inside the e2e tests ... |
Off topic @rejas I think to that: It's not possible to save current config.js file and restore it after suite test done. (if needed) Why ? I just lost my test config (this is the last configuration of the test suite that has taken place) and I forget to make a bak This should be planned for v2.26, right? |
Tested in my prod (since Sunday evening 10 p.m.) mirror without "animation collision" It's ok for me, you can merge Note: I have resolved conflit in ChangeLog |
PR: #3113
I see this bugs:
AnimateCSS merge hide() and show() animated css class when we do multiple call
--> result it will stay en hide state
I think event listener (is animateCSS file) is not a proper solution
I correct it with like traditional code with timer
Fix too: AnimateIn on first start