Does anyone know if it’s possible to suspend DOM refreshes of the wiki DOM that is shown in the background when a modal is open and interacted with?
Sometimes, like when you have the More → Explorer sidebar open, things can really slow down. Normally, it’s just a single click to activate a different sidebar tab to speed things up again. But with a modal open, you’d have to close the modal, click another sidebar tab, reopen the modal, and possibly retrace other steps you did there.
Since the background is dimmed, hardly visible, and cannot be interacted with anyway, I wouldn’t mind if the refresh processing for it was halted while the modal is shown. In this discussion it seemed to me that modal refreshing is processed differently, so maybe this can be leveraged here?
Even if not fully automatic, I could imagine setting a tiddler to some value ($action-setfield) while calling the modal, and then unsetting it when closing the modal. While the tiddler is set, refreshing is paused (maybe by temporarily activating a check for open modals at the top of refresh processing).
There is some danger to that, as wrong code could make the wiki unresponsive, but I’m not proposing a general change to the core, but only a custom thing for me.
Have a nice day
Yaisog