if i create new object from modal the close button will not work as expected instead it open new page !
Note : closeOnOuterClick work perfectly ! aren't close button and click outer have same close function !
----------------Main Script----------------
new ModalCompo({
target: Target,
props: {
Name: Name,
},
});
if i create new object from modal the close button will not work as expected instead it open new page ! Note : closeOnOuterClick work perfectly ! aren't close button and click outer have same close function ! ----------------Main Script---------------- new ModalCompo({ target: Target, props: { Name: Name, }, });
----------------ModalCompo Script----------------