OMG Thank you David! Works perfect
The Groups and Users menu button still use spinner loader.
Is that possible to add the loading slider when click the topic title (which scroll to top) in topics?
Submitting a post also still shows the spinner.
I think when scrolling up and down a topic / topic-list, activating the slider doesn’t make sense. The page isn’t changing state, we’re just adding content at the top/bottom.
Granted, when clicking the topic title it does feel like a full page load… so maybe that specific case should use the slider
In the place where the post will appear? I think in that case it’s not really a page transition, it’s just part of the UI loading, so the spinner is ok? I don’t think we’d want to trigger a full page load for this kind of thing, because it would fade out all the other topic content.
Yes this is what I thought But i think it should only use on bigger topics. Because otherwise when you click the topic title it goes to top immediately.
I don’t have the bar too in this situation.
On Android the fade animation is a lot smoother on Firefox than on Chrome. That’s a first.
Yeah there are still places where the spinner is OK. I don’t think we’re going for full removal of the spinner, only the logical places where the horizontal top progress bar makes more sense.
Docs keep the position what was the previous page and both loader appear between topics and filters.
I have this issue on iPhone DiscourseHub app. iPhone 11. iOS 14. It appears that you can see two lines going across the top with a new page loads.
(This is only when you swipe left and right to enter and exit another page)
I think this looks really nice in the PWA.
Does it make the PWA feel like a website rather than an app?
Great component, for me though, when changing page it leaves the page foggy and not fully loaded.
With…
Without slider…
Is the intention that the spinner will be an official theme component?
This is intentional. When loading 20% opacity is applied on the page.
Thanks for the reply ondrejj, yes the problem is the 20% opacity isn’t clearing.
Make sure you’re on latest - I think a few changes were applied to core in order to make this work.
Nope no joy, it seems to be failing only on the category & topic pages. F5 clears it and every other page seems to work just fine.