Support » Fixing WordPress » Bug with 3.5 Iris Color Picker

  • I am creating a widget that uses the new color picker in WordPress 3.5.

    It works fine except for when it is first added to a sidebar. This is because the widget is being added to the sidebar by jquery. The color picker is also applied using jquery – but it isn’t able to select the color element because it wasn’t part of the DOM when the page loaded.

    I haven’t been able to look at all the code involved in the wpColorPicker javascript function but somewhere in there this should likely be added:

    I’m not sure if this is the right place to post this or not. If not, if someone could point me in the right direction to report a bug that would be great. Thanks!

  • The topic ‘Bug with 3.5 Iris Color Picker’ is closed to new replies.