-
Notifications
You must be signed in to change notification settings - Fork 56
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
Stagger issue with appear-visible #70
Comments
I've got exact same problem. It'd be good if it'd be fixed or added stagger-all for group or something Also good option would be to chain them, so lets imagine you have some showcase with text and then list of items. You do |
Expected behavior for stagger animation with appear-visible parent |
Yeah this is something that will take some changes to the logic to fix. Potentially we can automatically update the In the mean time I would suggest perhaps removing the stagger overall or manually adding a stagger to the first few elements with |
This is definitely not doable with pure CSS. Will look into a javascript approach but ultimately the core idea of this project was to have a CSS based approach with framework specific wrappers to toggle the classes/variables. The main issue is that when using |
Hi.
I have wrong behavior when I use stagger with appear-visible.
Stagger make delay between each children, but if parent (in my case
<XyzTransitionGroup />
(in Vue)) have appear-visible,that behavior needed changes: delay needed to be calculated between visible items, not total items!
Why?
If you have 15 items, 3 items per row, and for example from the docs
First 3 items appear normally,
second 3 items - ok.
But when user scroll page, next 3 items and other already have a noticeable delay in their general appearance (the delay between each other still corresponds to the one specified in the settings).
How to fix that?
Because of this, stagger for me is unusable for that case (is very common!).
The text was updated successfully, but these errors were encountered: