kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Toast-Container: Animationen unterstützen

Open deleonio opened this issue 2 years ago • 1 comments

Aktuell werden beim Erscheinen und Entfernen von Toasts CSS-Klassen für genau 300ms gesetzt (adding, removing).

Um individuellere Animationen zu erlauben, sollten die Klassen bzw. Elemente erst entfernt werden, wenn die Animationen beendet sind. D.h. onanimationend bzw. ontransitionend. Dabei ist zu beachten, dass eine Animation maximal 5s dauern darf.

Zudem könnten Re-renderings von Stencil hier Problem machen (z.B. ungewollt Animationen neu starten). Es sollte also auch u.a. getestet werden, was passiert, wenn mehrere Toasts parallel Animationen abspielen.

deleonio avatar Sep 04 '23 15:09 deleonio

This issue has been automatically marked as stale and will be closed in 10 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, please post a comment or remove the Stale label.

github-actions[bot] avatar Aug 02 '24 04:08 github-actions[bot]

This issue was closed because it has been stale for 10 days with no activity. If the issue is still relevant to you, feel free to re-open with a comment.

github-actions[bot] avatar Aug 13 '24 04:08 github-actions[bot]