eBay / nice-modal-react

A modal state manager for React.
https://ebay.github.io/nice-modal-react
MIT License
2.04k stars 118 forks source link

Will the function of limiting the number of modals be added #37

Closed hua03 closed 2 years ago

hua03 commented 2 years ago

hello, In some business scenarios, modals may be opened in cycles.For example, modal A open modal B, modal B open modal C, and modal C can open modal A. Could you add a stack to control the number of opened modals? If the number exceeds the limit, the opened modal at the bottom of the stack will be removed.