Loader animation when page change

Hi since WeWeb can now make SPAs, how can I make loader animation when changing pages? Thank you

1 Like

Hi @khairul,

At the moment it’s not possible, you can suggest this feature in our roadmap

You can try to add a loader and show it if your content is fetching. And do the opposite for your content, show it if it’s not fetching

1 Like

I think there’s need because my page takes too long to load, even though the next page just contains one section. Is there a reason for that?

I think you have a lot of data if your page is too long to load

If you want, you can create a workflow on your page with a variable dataReady. On page load (before fetching), you set up the variable to false. And on page load to true
And you can bind this variable to your section and a loader

1 Like

Hey there,

Thought I would let you know this is now possible.

You can add a loader during page transitions here:

Currently it’s fairly subtle and you can only customize its color but we are working on improve it in the future:

CleanShot 2023-06-12 at 12.18.34

That’s indeed @Joyce very nice! Question what are you guys thinking of when considering improving the loader? Thanks! :pray:

Hi @ben :wave:

I don’t have the detail of what the product team is exploring. If you have ideas / needs you’d like them to explore on that front, we’d love to know!

We’re collecting and reviewing all product feedback here.