Hello! I would like to know if there’s a way to block the scrolling function for the main page if the user is in an opened modal. Thanks!
-
You go to your outermost section that contains your content.
-
Set up (Bind) the overflow of the outermost wrapper section to
[your_modal_boolean_variable] ? “none” : “auto”