Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click the article's animation a bit not smooth #26

Open
Leiouflying opened this issue Jun 21, 2017 · 3 comments
Open

Click the article's animation a bit not smooth #26

Leiouflying opened this issue Jun 21, 2017 · 3 comments

Comments

@Leiouflying
Copy link

Click the article's animation a bit not smooth.
When I click the article on the index page.

@Snownee
Copy link
Contributor

Snownee commented Jun 21, 2017

当长文章被首次请求时,占用了部分资源可能导致动画出现卡顿。而动画其实也是为了补足文章加载的等待时间。

事实上我并没有在你的网站上感受到此问题。

我会想办法改善此问题。

@Leiouflying
Copy link
Author

Leiouflying commented Jun 21, 2017

The problem is very obvious on the Firefox browser. Some times the animation may stop a few ms. But it may cause very unconfortable. If the problem is very difficult. You can try to work the animation to the end then put a loading gif to slove this problem. You can find this way or more detail on the Halyul‘s old theme.
He showed "The post is loading..." when the animation run to the end.
Also you can try to load a part of the article at first. Then draw the remaining articles by line. It may be a good way because lots of DALAO were using it.

@Snownee
Copy link
Contributor

Snownee commented Jun 21, 2017

因为此主题和普通的 PJAX 有点区别,所以预加载的实现并不容易,可能需要先把文章列表重构一下。

@Snownee Snownee added the future label Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants