WPTT / control-color-alpha

A color control for the WordPress Customizer with support for RGBA colors (additional alpha channel).
GNU General Public License v2.0
38 stars 1 forks source link

Javascript error since WordPress 5.5 #10

Closed scrobbleme closed 4 years ago

scrobbleme commented 4 years ago

Hello,

After updating to WordPress 5.5 the picker isn't working anymore.

There is a Javascript error:

react-dom.min.js?ver=16.9.0:103 TypeError: Cannot read property 'defaultString' of undefined
    at u (main.js?ver=1.1:formatted:9737)
    at je (react-dom.min.js?ver=16.9.0:78)
    at ph (react-dom.min.js?ver=16.9.0:215)
    at lh (react-dom.min.js?ver=16.9.0:126)
    at O (react-dom.min.js?ver=16.9.0:121)
    at Sb (react-dom.min.js?ver=16.9.0:213)
    at wh (react-dom.min.js?ver=16.9.0:160)
    at fd (react-dom.min.js?ver=16.9.0:160)
    at react-dom.min.js?ver=16.9.0:163
    at kh (react-dom.min.js?ver=16.9.0:119)

image

This is related (but not our issue): https://wordpress.org/support/topic/help-wordpress-5-5-update-crashing-elementor-color-picker-issue/

aristath commented 4 years ago

This is actually a bug in Core WP, will be fixed in the next minor release. See https://core.trac.wordpress.org/ticket/51123 for reference.