You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="dialog"><button@click="showDialog2"> Click me to show Dialog </button></div><Dialogv-model:show="openDialog2" title="hello world"><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><h1> Hello World </h1><template#footer><button>Hello</button><button>World</button></template></Dialog>
2023-03-14.17-19-27.mp4
as you can see, I can't open the dialog
I found the reason is that <Dialog> has already mounted when pass the show with false, I don't know how do you fix this in your code
or can you help me improve my code ?
The text was updated successfully, but these errors were encountered:
This problem has troubled me for a long time, seems that you can help me.
I made a click outside directive too, this is my code
when using it like below, everything is ok
2023-03-14.20-37-52.mp4
but when using it at the dialog, it is not ok
this is the dialog code
when using it
2023-03-14.17-19-27.mp4
as you can see, I can't open the dialog
I found the reason is that
<Dialog>
has already mounted when pass the show withfalse
, I don't know how do you fix this in your codeor can you help me improve my code ?
The text was updated successfully, but these errors were encountered: