Subscribe on changes!

Unexpected Recursion when use Modal in Confirm Component

avatar
May 28th 2021

Version

3.0.0

Reproduction link

https://codesandbox.io/s/modest-curran-qmdxg

Steps to reproduce

Create Component ModalDialog, with slots, then Create Component ModalConfirm with Yes No buttons and emit confirmation true if YES has been pushed, false if NO has been pushed

What is expected?

Confirm Modal appear

What is actually happening?

Maximum call stack size exceeded

avatar
May 28th 2021

your ModalConfirm is named ModalDialog and it's rendering itself in a loop.


Remember to use the forum or the Discord chat to ask questions!