Flash of unbound data?
(Web, Canvas)
I see a flash of something when I started using data binding. I suspect its the content of my Rive file without data binding is displayed even though I have applied the data binding.
Are other people suffering from this? Did you avoid it?
1/3) Here is the sequence I believe is happening:
rive = new Rive({src, artboard, stateMachines, onLoad, autoBinding: true, autoplay: true, canvas})
onLoad
apply data binding
unbound data appears (1 render frame)
bound data appears
2/3) I have also tried calling rive.play() in onLoad:
rive = new Rive({src, artboard, stateMachines, onLoad, autoBinding: true, autoplay: false, canvas})
onLoad => rive.play()
apply data binding
unbound data appears (1 render frame)
bound data appears
3/3) I have also tried delaying rive.play()
rive = new Rive({src, artboard, stateMachines, onLoad, autoBinding: true, autoplay: false, canvas})
onLoad
apply data binding
rive.play()
unbound data appears (1 render frame)
bound data appears