[Engine] fadeComponent method is inconsistent, sometimes instantly changing visibility
fadeComponent has been demonstrating inconsistent behavior for a while now, with no apparent trigger.
Assigning components to two panels and then triggering fadeComponent on these panels back and forth results in the panel (and as such, the controls, too) instantly changing visibility instead of fading over the set period.
The panel visibility (and as such the displayed controls) should crossfade smoothly, but sometimes you'll notice a jump as the one fading out instantly goes invisible, more often than the one fading in instantly appearing.
The behavior manifests in HISE, in the Interface preview and in a compiled plugin on Win11. This was captured from the compiled VSTi on Win11, 0d0251e59052c121d1b12c686254fa7ba77d27f5
Sounds similar to issue reported here - https://forum.hise.audio/topic/6094/fadecomponent
HISE is fighting me so much when trying to create a smooth, animated interface.
Beyond a basic fade I don't go in much for animation so I don't have any tips here.