Pretty straightforward question. I have a pop up for a dating app that shows images of you and the person you match with. However when you load new data the old images stay there for a second before being updated to the new ones.
Hard resetting or even displaying data does not seem to work. Has anyone come up with a solution for this?
You need to force the image element to be empty before loading the new data. The standard way to fix this is to hide the image element, clear the group’s data source, load the new data source, and then show the image element again. This prevents the old image from showing at all.
You can do this 2 way:
1 - use a condition when a popup us closed, inaide it use a qction to reset this popup data. I like thia one.
2 - whn you open the popup clear it data fiat the add new datat then show it
Thanks for this. It appears that you need to make the image disappear like you said and I am using a placeholder when empty to also magnify this. So far so good but will let you know if anything changes.