Closed codetinker closed 5 years ago
Hi @codetinker, thank you for your comment.
So, you have to reproduce a matter to inspect any problem. Also, I have to see your situation to help you. Could you reproduce that? For example, show me an example in: https://jsfiddle.net/
Hi @anseki,
I've tried on https://jsfiddle.net/codetinker/1mjkvrqe/7/ using exactly same code and it work fine, no issue at all. It could be the problem only happen when I use plainmodal with angular 7.
So no issue then =) Thanks for helps
I see. The bug in your code creates new element every time when button was clicked. It seems that you wrote the code that creates new element in the event handler by mistake.
I'm glad if I could help you. :smile:
Hi,
Thank you for creating great fully customize modal. Did not know this modal existed until today. However I found 1 issue.
Each time the modal is open, it will a duplicate of the same modal before. Thus making all the elements inside the modal duplicated as well. And this cause any script i wanted to do inside the modal is useless because of multiple element IDs existed.
This is the screenshot: https://imgur.com/cTXpaG5
I have created quick fixed for my solution: `
`