Trevor
Trevor
KPCKevin Powell - Community
Created by Trevor on 10/8/2024 in #front-end
Is it possible to have two interactable HTML dialogs open at the same time?
I've got a situation where in our current environment our modals are hand built with divs and positioning. I've been in the process of migrating them to a native HTML dialog element and have a situation where an initial modal would be open, and a second modal can be opened in a side by side view to do additional work. I'm not sure how or if two dialogs can be open and interactable at the same time. I think I can technically achieve this by opening them with .show() instead of .showModal() however I then have other problems with dom layout and z-indexing if done that way. I also lose the niceties of the native dialog. Any ideas?
3 replies