I need to use SpectrumJS inside a div that has the attribute "display: none", but when I remove the attribute to make the div visible, the position of the dragger and the slider does not correspond to the color set. If in container div the attribute "display" isn't set, everything works correctly.
HELP!
depending on your usage of the plugin, you could maybe re-initialize #flat2 after showing it.
Added: or try to initialize and then hide: http://jsfiddle.net/neildaemond/jz37hLre/4/