You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
8.14 + 8.15
Bug summary
#8522 introduced the adding of an inert attribute on the main editor window when opening a dialog however this isn't getting removed when calling editorService.closeAll() and so the editor becomes completely unresponsive.
Specifics
We are receiving reports from Vendr users who have upgraded to 8.14+ that when they use the discounts editor (which opens in a dialog), when they close the editor dialog, the whole editor becomes unresponsive.
On investigation, this appears to come down to the fact that in #8522 a new attribute is added to the main editor window, "inert" which is styled such that it blocks all pointer events, preventing clicks on the background window while the dialog is open. It appears that most of the work with this attribute is concentrated around the dialog service, and when you call close on this service, the attribute is removed.
Unfortunately, this doesn't appear to take into account that a dialog can be controlled via the editor service too, which is what our dialog is using such that on completion the dialog calls editorService.closeAll() however this doesn't appear to be removing the inert attribute and so the main editor window remains unresponsive.
Steps to reproduce
Launch a dialog via the editor service editorService.open(...);
Close the dialog calling editorService.closeAll()
Editor becomes completely unresponsive
Expected result / actual result
inert attribute should be removed when dialog is closed and main editor should become responsive again.
The text was updated successfully, but these errors were encountered:
Fixes#10708 by removing the `inert` attribute on `#mainWrapper` when `editorService.closeAll()` is called.
This code is necessary because when close all is called, there is no editor passed, and so `removeEditor` is never called, and so the `focusLockService.removeInertAttribute();` method isn't called. I add to the if block that handles the close all code instead.
(cherry picked from commit 1f4cc81)
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
8.14 + 8.15
Bug summary
#8522 introduced the adding of an
inert
attribute on the main editor window when opening a dialog however this isn't getting removed when callingeditorService.closeAll()
and so the editor becomes completely unresponsive.Specifics
We are receiving reports from Vendr users who have upgraded to 8.14+ that when they use the discounts editor (which opens in a dialog), when they close the editor dialog, the whole editor becomes unresponsive.
On investigation, this appears to come down to the fact that in #8522 a new attribute is added to the main editor window, "inert" which is styled such that it blocks all pointer events, preventing clicks on the background window while the dialog is open. It appears that most of the work with this attribute is concentrated around the dialog service, and when you call close on this service, the attribute is removed.
Unfortunately, this doesn't appear to take into account that a dialog can be controlled via the editor service too, which is what our dialog is using such that on completion the dialog calls
editorService.closeAll()
however this doesn't appear to be removing theinert
attribute and so the main editor window remains unresponsive.Steps to reproduce
editorService.open(...);
editorService.closeAll()
Expected result / actual result
inert
attribute should be removed when dialog is closed and main editor should become responsive again.The text was updated successfully, but these errors were encountered: