I try to have a modal inside another modal. However, I got an error like too much recursion in firefox.
I used the latest jQuery and Twitter bootstrap but still have this problem.
Here is the plunker that shows the error
You can find errors in console Uncaught RangeError: Maximum call stack size exceeded or too much recursion
Does anyone know how to fix it? Thanks
Ok, it seems like an issue that has been discovered.
(apparently I should use key word “Uncaught RangeError: Maximum call stack size exceeded” instead of “too much recursion” 🙁 )
Here are the solutions.
1. modify the modal.js
in this post, https://github.com/twbs/bootstrap/pull/5022
@onassar bring up a solution
I tried and it works. (plunker)
2. Use another plugin to address this Demo
It seems like it works pretty well.
3. Wait for official solution.
In their roadmap, they do want to rewrite this modal plugin at some point.