Skip to content

Toast animation issue #4498

Closed
Closed
@cvn

Description

@cvn

Describe the bug

When there are multiple toasts present, slide animations only work for the first item, and even then there's a hitch in the animation. I made a demo that shows toasts side by side with a vanilla transition-group, with some instructions.

Demo https://codepen.io/cvn/pen/vYEKQdO

A difference with a vanilla transition-group is that when toasts are not animating, they keep a b-toaster-enter-to class. And after moving, they also keep a b-toaster-move class. Like the enter and move animations aren't ever completing.

Ref #4473

Expected behavior

Toast move and leave animations should work for all toasts.

Versions

Libraries:

  • BootstrapVue: 2.1.0
  • Bootstrap: 4.4.1
  • Vue: 2.6.10

Environment:

  • OS: macOS Mojave
  • Browser: Chrome 78

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions