Is it possible to open a popup with multiple instances?
My use case: I have a popup that is used to create a new Task or Project. When creating a new task, I’d like to add the option to create a new Project on-the-fly so that it does not need to be create before adding the task.
The problem is I built it so they both use the popup. Is there any way to open it more than once?
I know I can move it to a reusable element, but that will be quite involved at this point and time consuming. So I’m looking for an easier alternative if possible.
You don’t need to open it more than once. Just add function to show the create a project portion when needed and close when done while simultaneously closing and showing the create a task portion. Easily done by grouping elements, simple conditions to make visible or not.
This occurred to me and was my probable solution. These conditions already exist, I guess I just need to add a layer to save the task data already entered and then repopulate with it when done with the project. Thanks!
Of course, a reusable would probably be less complicated here.
Probably not. These values are likely added by a user via an input, so the first group that has all inputs for the Task data, when that group is made not visible conditionally, the input values still remain, so once the Project is finished and that group is made not visible conditionally, and the Task group is again visible, the input values will still be what the user had entered.
In the middle of a build for a client. I’m seeing the work of past developer and retaining some stuff, but trying to get rid of what is unnecessary. Part of this process involves getting rid of double ups of reusable elements and opting for use of properties and custom states to enable CRUD functionality on the one reusable.
In my testing of some things, I’m still using two popups as the previous developer had it, and just wrote in my notes for what to do tomorrow, to do as I instructed you. Most important reason for it for me, is to get rid of the ‘double’ background blur that occurs when two popups are open at the same time, so what with one popup open is a greyish blur, becomes more of black blur when two popups are open.
I also use the transitions on the groups that contain the different actions, such as create a Project or create a Task, to give a sort of slide up and slide out effect when they collapse.