水平加载滑块

Yeah exactly. The single-threaded nature of the JS / DOM rendering means that we drop loads of frames while rendering a topic :cry:. The slider is ‘moving’ the whole time, it’s just that the frames never get rendered.

Thanks. I just tidied that up in core, so it will be fixed here on Meta very soon.

I’ll get a fade-in going on Meta today so we can see how it feels. Although obviously if we do that, we’ll want to remove other fade-ins like the TOC component.

Edit: that’s done. Fade-in enabled on meta

Depending on the order that your themes/components get loaded, that might not work. You need to make the selector ‘more specific’ than the loading slider component CSS. The simplest thing is probably to add !important to the background-color. You’ll also want to remove the container selector, otherwise the background will be the same as the foreground:

.loading-indicator-container .loading-indicator {
    background-color:#FFCC00 !important;
}
7 个赞