Skip to content
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

feat(esl-carousel): rework default renderer animation approach (now uses js animation) #2555

Merged
merged 5 commits into from
Aug 1, 2024

Conversation

ala-n
Copy link
Collaborator

@ala-n ala-n commented Jul 31, 2024

No description provided.

@ala-n ala-n added the enhancement Improvements and additions to code label Jul 31, 2024
@ala-n ala-n added this to the ⚡ESL: 5.0.0 Major release milestone Jul 31, 2024
@ala-n ala-n requested review from a team July 31, 2024 17:07
@ala-n ala-n self-assigned this Jul 31, 2024
@ala-n ala-n requested review from yadamskaya, fshovchko and NastaLeo and removed request for a team July 31, 2024 17:07
await this.$area.animate({
transform: [`translate3d(${this.vertical ? `0px, ${offset}px` : `${offset}px, 0px`}, 0px)`]
}, {duration: 250, easing: 'linear'}).finished;
this.$carousel.$$attr('animating', false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just cosmetic to define a method something like setAnimationState()

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But what will be the purpose? it is not public and is commonly used for other methods or inheritors. From the current update state animateTransformOffset and only animateTransformOffset should process animation and notify regarding the animation state. It is not designed for animated markers to be updated out of the context of animation

fix(esl-carousel): direction related issues, cleanup internal nav API (rename dir to direction)
@ala-n ala-n merged commit 0bd7a77 into main-beta Aug 1, 2024
7 checks passed
@ala-n ala-n deleted the feat/esl-carousel-animation branch August 1, 2024 17:48
@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2024
@ala-n
Copy link
Collaborator Author

ala-n commented Aug 13, 2024

🎉 This issue has been resolved in version 5.0.0-beta.31 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvements and additions to code released on @beta
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants