Vue V3 Dialog not closing


I’ve created an example.

I want to close the dialog after execute some functions.

I’ve noticed that if I close the dialog too quick, then it will fail.

How should I close the dialog?



There is not much sense in closing dialog in sync code, so according to this code it should be closed immediately. But if you really need such logic, then use utils.nextFrame to close it