Images that aren't supposed to be shown is visible for a brief second

I think I found a bug - see this gif:

50 PM

What you see is entering: product detail page → product list page → another product detail page → back and forth…

This is a single page app and I am getting data from “the current page”. As you see, when I get into another detail page I see for a fraction of seconds images that were in the previous product detail page. I literally tried every solution I could think of (resetting data source, empty by default, element condition, setting data on workflows…) but those previous images wouldn’t go away. Did anyone encounter this issue?

Did you uncheck the “this element is visible on pageload”? I can’t tell without looking at the editor, but it looks like you are using a conditional statement to hide the picture. I’m guessing that this may be causing the image to show until the page is rendered. If this is not the case, did you use a workflow to do a ‘reset data’ on the group that contains the product detail after you close the product detail popup. Normally, you have to clear the data or else the previous data will remain loaded until the new data is rendered.

Can you share a link to the editor?

Hi there, thanks for your answer! I have some sensitive data so I will make a simple case and share it later today. Meanwhile, to answer your suggestions:

  1. I don’t hide the picture itself, but I do hide the great grand parent group (which effectively hide children groups and images as well) If this is causing the problem, I am assuming all other single page apps have this issue - since they show the relevant group(=page) and hide all other groups…?
  2. I also tried resetting data source groups but it didn’t work. After all, I am getting data from “current page thing” so when I am at the list page, the product data from the previous page should be empty. It really seems to me about how bubble handles images… but I might be wrong.

I know it’s not critical but when images have larger sizes, they take longer to load and swap. So it seems buggy and I really would like to fix this :slight_smile: Will make a test case later today.

This topic was automatically closed after 14 days. New replies are no longer allowed.