Skip to content

useModal and BApp, delay in rendering multiple modals #2839

@amokrunnr

Description

@amokrunnr

Describe the bug

Hi. I am noticing a delay when rendering multiple modals using the new BApp framework. The first modal appears to be immediately responsive, but subsequent modals have a noticeable delay. Reproduction is linked below. Click the button, then click the button inside following modals to add to the stack. You will see the title update on click, with a noticeable lag in the actual modal coming. I've set noAnimation=true.

In observing the html it looks like there is a transient <span class="b-list-enter-active b-list-enter-to"> that appears in the modal list that matches the same timing as the delay I'm seeing, unsure what that is but seems related. (see attached video clip)

Recording.2025-09-10.064141.mp4

Thanks!

Reproduction

https://stackblitz.com/edit/github-ppzyckux-btdpacev?file=src%2Fcomponents%2FComp.vue,src%2FApp.vue

Used Package Manager

npm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions