epicmaxco / vuestic-ui

Vuestic UI is an open-source Vue 3 component library designed for rapid development, easy maintenance, and high accessibility. Maintained by Epicmax (@epicmaxco).
https://vuestic.dev
MIT License
3.52k stars 340 forks source link

Overlay removing when you using two modal popups #4388

Open bagrovYKT opened 1 month ago

bagrovYKT commented 1 month ago

Vuestic-ui version: 1.10.2

Description

What I see: I've made a VaModal(No1) with a button in the body, thats triggering an other VaModal(No2). It opens fine, but when i closing VaModal(No2) both of overlays removing. What I expecting: I expecting that only one of overlays will removed, when VaModal(No2) closing/

Reproduction

Make two VaModal, open it together, then close one of them and you'll see that both of overlays will disappear from DOM.

m0ksem commented 1 month ago

Hi, can you reproduce it in playground?

ui.vuestic.dev/play