kallookoo / wp-color-picker-alpha

Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
GNU General Public License v2.0
132 stars 88 forks source link

Conflict with MonsterInsights #37

Closed adammorris closed 4 years ago

adammorris commented 4 years ago

Hi - Recently came across an issue between the MonsterInsights plugin and the GeneratePress theme, which is using wp-color-picker-alpha.

It appears something in MonsterInsights is overwriting the namespace of wp-color-picker-alpha, but I can't tell exactly what's going on. I raised the issue with MonsterInsights, as it appears to be a problem caused by their plugin, but both these are widely used, so I thought I'd raise it here as well.

The error I see is:

iris.min.js?ver=1.0.7:5 Uncaught TypeError: (intermediate value).setHSpace is not a function at h..._create (iris.min.js?ver=1.0.7:5) at h...h.isFunction.a. [as _create] (widget.min.js?ver=1.11.4:11) at h...s (widget.min.js?ver=1.11.4:11) at h..._create (wp-color-picker-alpha.min.js?ver=1.11.0:179) at h...h.isFunction.a. [as _create] (widget.min.js?ver=1.11.4:11) at h..._createWidget (widget.min.js?ver=1.11.4:11) at new h.. (widget.min.js?ver=1.11.4:11) at HTMLInputElement. (widget.min.js?ver=1.11.4:11) at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.4.2:2) at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.4.2:2)

kallookoo commented 4 years ago

Hi @adammorris I'm sorry but the plugin that you comment is paid and for what you comment my script may be modified. It is they who have to fix it since I do not charge for this script and if they charged you for the plugin.