Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Animation error causing filters to not work in Chrome and Firefox #593

Open
danking728 opened this issue Jan 12, 2022 · 2 comments
Open

Comments

@danking728
Copy link

danking728 commented Jan 12, 2022

The error can be seen here: https://elearning.scranton.edu/programs/

On Chrome and Firefox, the first filter a user chooses works fine but any subsequent filters that are chosen do not work and produces the following error in the console.

MixItUp] WARNING: An operation was requested but the MixItUp instance was busy. The operation was rejected because the queue is full or queuing is disabled.

It appears the animation never really finishes and causes the subsequent filter events to never get triggered. This issue has been brought up once before in issue #278. A solution proposed in that issue thread was to decrease the animation duration. I tried that but it did not work. The other solution mentioned would be to increase the throttle duration to a greater value than your mixer animation duration. This did not work. The last solution i tried out was increasing the queueLimit but that did not work either. The only band-aid fix that made the filters work again was to disable the animations completely, which isn't a great fix for UX reasons.

@FrancoisCapon
Copy link

Hello,

@danking728

We add the same issue on a project with lot of items. My solution is to replace the MixItUp animations by CSS animations, all is explain in this article (in French), but the code will remain the same 😉

@patrickkunka

Maybe you can add it to the official documentation, because it solve animation issues on large number of items ?

Best regards

@wilbertcaba
Copy link

@FrancoisCapon this was a very elegant solution and you give control of animations back to a CSS stylesheet. Love it. Merci Beaucoup!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants