Problem 1: the first time I arrive on the page, when I want to expand an Account (e.g. Account 1), there is a 1-2 sec delay before the RG B appears. Is there a way to have an instant expanding of the RG?
The “Group Cryptocurrency” containing the “RepeatingGroup Cryptocurrency” is not visible on page load and it collapses when hidden.
Problem 2: once the RG B appeared, there is another 1-2 sec delay for the values “Current Price”, “Total”, “P/L” to appear. Note that these values make use of API calls to get the asset’s “Current Price” and calculations for the “Total” and “P/L” values.
You can try to have a very small repeating group that is visible when the page is loaded that loads the data for you and then just reference that. Would that work? If you have a large dataset it might be slow on loading the page potentially. Worth a shot I guess.
try putting master repeating groups on the page outside of the nested repeating group. the masters should do searches that return all the data used in the nestings.
it’s not ideal from data or wu but it’ll achieve a preloading for the nestings.
the delay you’re talking about is a server delay as it calls for the data and then prints it when the rg is opened
if you already have the data somewhere on the page then it won’t need to call for it and it will open instantly.
be mindful though that this isn’t the best practice and you definitely do not want to use it for large datasets. (ie don’t download 10000 things to the page)
you could also distract the user a little using animation open and close
Oh I see! So is what you propose the same thing already mentioned here? Meaning a 1-by-1 pixel Master RG somewhere on the page?
What would be the best practice you are refering to?
Is it a limitation caused by the Bubble App? I’m just trying to figure out how to tackle this by using best practices. Indeed, I already used such a structure in other apps without any delay.