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

No way to wait for all animations (current and scheduled) to be done. #1658

Closed
rodrigogiraoserrao opened this issue Jan 24, 2023 · 1 comment · Fixed by #1659
Closed

No way to wait for all animations (current and scheduled) to be done. #1658

rodrigogiraoserrao opened this issue Jan 24, 2023 · 1 comment · Fixed by #1659
Labels
enhancement New feature or request Task

Comments

@rodrigogiraoserrao
Copy link
Contributor

rodrigogiraoserrao commented Jan 24, 2023

The coroutine Animator.wait_for_idle will wait for animations that are in effect to be done.
However, it does not take into account transitions that are scheduled.

It would be nice if we could await for all transitions, both the ones that are happening and the ones that are scheduled to happen in the future.

This will come in handy for testing and might also be useful for users in apps.

@rodrigogiraoserrao rodrigogiraoserrao added enhancement New feature or request Task labels Jan 24, 2023
@rodrigogiraoserrao rodrigogiraoserrao changed the title No wait to wait for all animations (current and scheduled) to be done. No way to wait for all animations (current and scheduled) to be done. Jan 24, 2023
@github-actions
Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant