@innovastudio/contentbuilder 1.3.46 → 1.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -75166,7 +75166,10 @@ class ContentBuilder {
|
|
75166
75166
|
if (!(a || b || c || d || f || g || h || i || j || o || isSpecialElement) || rowClicked && !i || containerClicked) {
|
75167
75167
|
// Click anywhere but is not inside builder area, modal, popup, tool or rte, then clear row/column (cell) selection
|
75168
75168
|
if (!this.dom.getSelected()) {
|
75169
|
-
if
|
75169
|
+
// if(!document.querySelector('.is-modal.active')) { // Additional (to prevent lost focus)
|
75170
|
+
let openedModal = document.querySelector('.is-modal.active:not(.is-modal-content)');
|
75171
|
+
|
75172
|
+
if (!openedModal) {
|
75170
75173
|
// Additional (to prevent lost focus)
|
75171
75174
|
util.clearActiveCell();
|
75172
75175
|
util.clearControls();
|