Hi. Currently working on a plugin involving the color picker, and noticed this issue. The issue doesn’t seem to be due to any of the callback code, but the color picker itself.
Example code
new Setting(contentEl)
.setName("Font Color")
.addColorPicker((color) => {
// code
});