@innovastudio/contentbuilder 1.3.53 → 1.3.54
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
@@ -4165,10 +4165,8 @@ class Util {
|
|
4165
4165
|
dom.addClass(pop, 'active');
|
4166
4166
|
|
4167
4167
|
const handleClickOut = e => {
|
4168
|
-
if (!pop.contains(e.target) && !btn.contains(e.target)) {
|
4168
|
+
if (!pop.contains(e.target) && !btn.contains(e.target) && !e.target.closest('.pickcolormore')) {
|
4169
4169
|
// click outside
|
4170
|
-
const pickcolormore = document.querySelector('.pickcolormore.active');
|
4171
|
-
if (pickcolormore) if (pickcolormore.contains(e.target)) return;
|
4172
4170
|
this.hideRtePop(pop); // hide
|
4173
4171
|
|
4174
4172
|
pop.removeEventListener('keydown', handleKeyDown);
|