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

博客内容只加载一部分,后半部分空白显示 #55

Closed
3 tasks done
effiu opened this issue Jul 19, 2020 · 15 comments
Closed
3 tasks done

博客内容只加载一部分,后半部分空白显示 #55

effiu opened this issue Jul 19, 2020 · 15 comments
Labels
Browser Bug Something isn't working Solved To Do
Milestone

Comments

@effiu
Copy link

effiu commented Jul 19, 2020

Issue Checklist


Expected behavior

内容全部显示

Actual behavior

Steps to reproduce the behavior

Environment Information

Node.js and NPM Information

v10.13.0

Package dependencies Information

hexo-theme-next@8.0.0-rc.4 /opt/blog/themes/hexo-theme-next
└── (empty)

Hexo Configuration

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: **'s blog
subtitle: 生活不止眼前的苟且,还有诗和远方的田野
description: **的博客
keywords: **'s blog
author: **
language: zh
timezone:

sidebar-avatar: img/avatar.jpg
# 网站综合内容设置:
SEOTitle: **的博客 | **'s Blog
email: **@**

# SNS Setting
github_username: effiu

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://www.**.cn/
root: /blog
permalink: :year/:month/:day/:title/
permalink_defaults:

# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:

# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
  enable: true
  line_number: true
  auto_detect: false
  tab_replace:

# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
  path: ''
  per_page: 5
  order_by: -date

# Category & Tag
default_category: uncategorized
category_map:
tag_map:

# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD HH:mm:ss
time_format: HH:mm:ss

# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-next
##theme: theme-bmw
#
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
  type: git
  repo: https://github.com/**/blog.git
  branch: master

NexT Configuration

nothing

Other Information

@effiu effiu added the Bug Something isn't working label Jul 19, 2020
@welcome
Copy link

welcome bot commented Jul 19, 2020

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@stevenjoezhang
Copy link
Member

stevenjoezhang commented Jul 19, 2020

无法复现你所描述的问题。测试视频:

mysql.mp4

@stevenjoezhang stevenjoezhang added Need More Info Further information is requested and removed Bug Something isn't working labels Jul 19, 2020
@github-actions
Copy link

We would appreciate it if you could provide us with more info about this issue!

@effiu
Copy link
Author

effiu commented Jul 19, 2020

我发现Safari没有这个问题,但是Google Chrome存在该问题,Chrome版本号: 版本 84.0.4147.89(正式版本) (64 位)

@stevenjoezhang
Copy link
Member

stevenjoezhang commented Jul 19, 2020

谢谢反馈,我会用 Chrome 确认一下问题的原因。

成功在 Chrome 83.0.4103.116(正式版本) (64 位)上复现此问题。

@stevenjoezhang stevenjoezhang added Browser Bug Something isn't working and removed Need More Info Further information is requested labels Jul 19, 2020
@stevenjoezhang
Copy link
Member

stevenjoezhang commented Jul 19, 2020

进一步测试显示
Chrome 83.0.4103.61 (May 19, 2020)
Chrome 84.0.4147.30 (before Jun 3, 2020)
Chrome 85.0.4158.1 (before June 5, 2020)
均工作正常。猜测这是一个 Chrome 近期(约一个月内)更新才引入的问题。可以在 Chromium Edge 上进行进一步的测试,或向有关开发团队反映此问题。

不排除是为了提高续航加入的 feature https://appleinsider.com/articles/20/07/12/google-chrome-to-gain-macbook-battery-saving-features-soon

@stevenjoezhang
Copy link
Member

@effiu 能否帮忙确认一下,如果在配置文件中禁用 motion

motion:
  enable: false

问题是否仍然存在?谢谢

@effiu
Copy link
Author

effiu commented Jul 21, 2020 via email

@stevenjoezhang
Copy link
Member

stevenjoezhang commented Jul 21, 2020

@effiu @zhaoyibo @constown

能否更新到这个 branch https://github.com/next-theme/hexo-theme-next/tree/motion ,帮忙在 Chrome 上测试一下启用 motion 时,页面显示不全的问题是否解决?谢谢!

cd themes/next
git fetch
git checkout -b motion origin/motion

@zhaoyibo
Copy link

@effiu @zhaoyibo @constown

能否更新到这个 branch https://github.com/next-theme/hexo-theme-next/tree/motion ,帮忙在 Chrome 上测试一下启用 motion 时,页面显示不全的问题是否解决?谢谢!

cd themes/next
git fetch
git checkout -b motion origin/motion

我这里解决了,可以显示完全了

@effiu
Copy link
Author

effiu commented Jul 21, 2020

cd themes/next
git fetch
git checkout -b motion origin/motion

问题已经解决

@effiu effiu closed this as completed Jul 21, 2020
@effiu
Copy link
Author

effiu commented Jul 21, 2020

问题已经解决

@stevenjoezhang
Copy link
Member

谢谢反馈,稍后会 push 到 master 分支中。未来根据 Chrome 的兼容情况再做调整。

@stevenjoezhang stevenjoezhang added this to the 8.0.0-rc.5 milestone Jul 21, 2020
stevenjoezhang added a commit that referenced this issue Jul 21, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Browser Bug Something isn't working Solved To Do
Projects
None yet
Development

No branches or pull requests

3 participants