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

Overlay wrapper animation should start together with overlay element animation #9882

Closed
Lipata opened this issue Jul 19, 2021 · 2 comments · Fixed by #10232
Closed

Overlay wrapper animation should start together with overlay element animation #9882

Lipata opened this issue Jul 19, 2021 · 2 comments · Fixed by #10232
Assignees
Labels
🐛 bug Any issue that describes a bug overlay version: 12.2.x version: 13.0.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@Lipata
Copy link
Member

Lipata commented Jul 19, 2021

Is your feature request related to a problem? Please describe.

Overlay wrapper animation should start together with overlay element animation. In cases where animation duration is bigger, it is obvious that the wrapper animation is starting after the animation of the element is finished (see igx-dialog's closing animation):

overlay_anim_demo

The closing animation in Material:

117975646-8e7c0e00-b337-11eb-805c-8965ce95ecd0

@wnvko
Copy link
Contributor

wnvko commented Oct 4, 2021

this was working in old version and regressed with addition of attach and detach methods

@Lipata Lipata added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. version: 12.2.x and removed 🆕 status: new labels Oct 6, 2021
@PlamenaMiteva
Copy link
Contributor

For some reason browsers fail to play the initial animation when element's background color has been changed like in the following sample. The issue is logged to the browsers and until resolved we have to use a workaround of wrapping the modal class application in requestAnimationFrame().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug overlay version: 12.2.x version: 13.0.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants