WeWeb modal will not do the job in my situation because i need to make it component, and when you make it component you cant trigger the modal from outside. Not with Execute component action or with Toggling Modal - Open variable.
So i am making my modal and everything ok except that when i open my modal i can scroll page in background but i dont want this. How to prevent scrolling only when my modal with overlay is opened?
Thank you for answer. I have read this and there is no solution there. Because when i made component from WeWeb modal, after that i can not trigger modal in workflow with Execute component action or with Toggling Modal - Open variable.
I take WeWeb Modal which automatically have Modal - Open variable.
I place button and add workflow on this button to toggle Modal - Open variable or make workflow with Execute component action. Everything works ok.
I make this Modal as component(i need this) and here problems start. Modal - Open variable disappear and if you want to trigger modal with Execute component action you cant, because for Execute component action you need to select your modal from Component dropdown but Modal is not in list.
sounds like your using the modal from the add panel they have a popups tab tho that are already components so use them instead. and they can be easily added to existing components to open them as well.
I’d agree with Sam to use pop ups if it suits your needs.
If you really need the modal component you can do what you want but it’s stupid and clunky to setup.
Essentially the open modal action is hidden from outside the component, so you have to make a component workflow in the component and then trigger the modal open action from there and then trigger that workflow from outside the component