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

Sidebar hides when clicking background. (Want to still display sidebar even clicks background.) 點擊背景區域,側邊欄會被隱藏(希望不要隱藏) #1488

Closed
3 tasks done
eden0521 opened this issue May 5, 2020 · 5 comments · May be fixed by #1496

Comments

@eden0521
Copy link

eden0521 commented May 5, 2020

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate.
请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist

  • I am using the latest version of NexT.
  • I have read the relevant documents of Hexo and NexT.
  • I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.

Expected behavior

Want to still display sidebar even clicks background.
點擊背景,希望側邊欄不要隱藏

Actual behavior

Sidebar hides when clicking background.
點擊背景,側邊欄會隱藏

Steps to reproduce the behavior

  1. In _config.yml, set "scheme: Mist".
  2. In _config.yml, set "display: always".
  3. run "hexo s", when clicking background(except article, header or bottom area), sidebar will hide.
  • 在_config.yml, 設定 "scheme: Mist".
  • 在_config.yml, 設定 "display: always".
  • 執行 "hexo s",當點擊背景區域(不包含文章、頁首和頁尾區域),側邊欄會隱藏起來。

Environment Information

Node.js and NPM Information

node v10.16.0
npm 6.9.0

Package dependencies Information

+-- hexo@4.2.0
+-- hexo-admin@2.3.0
+-- hexo-deployer-git@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-index@1.0.0
+-- hexo-generator-searchdb@1.3.0
+-- hexo-generator-sitemap@2.0.0
+-- hexo-generator-tag@1.0.0
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@2.0.0
+-- hexo-renderer-stylus@1.1.0
+-- hexo-server@1.0.0
`-- hexo-symbols-count-time@0.7.1

NexT Configuration

# ---------------------------------------------------------------
# Scheme Settings
# ---------------------------------------------------------------
# Schemes
#scheme: Muse
scheme: Mist
#scheme: Pisces
#scheme: Gemini

# ---------------------------------------------------------------
# Sidebar Settings
# See: https://theme-next.org/docs/theme-settings/sidebar
# ---------------------------------------------------------------
  # Sidebar Display (only for Muse | Mist), available values:
  #  - post    expand on posts automatically. Default.
  #  - always  expand for all pages automatically.
  #  - hide    expand only when click on the sidebar toggle icon.
  #  - remove  totally remove sidebar including sidebar toggle.
  display: always

Other Information

It seems not to happen in Next 6.4.0 version that I installed before. Or is there any config settings can solve the problem? Thanks.
因為我之前在Next 6.4.0版本沒這個問題,是有哪裡可以設定不要隱藏嗎?謝謝。

@welcome
Copy link

welcome bot commented May 5, 2020

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

@eden0521 eden0521 changed the title Sidebar hides when clicking background. (Want to still display sidebar even clicks background.) Sidebar hides when clicking background. (Want to still display sidebar even clicks background.) 點擊背景區域,側邊欄會被隱藏(希望不要隱藏) May 5, 2020
@sli1989
Copy link
Collaborator

sli1989 commented May 5, 2020

related #607 #964

@jiangtj
Copy link
Member

jiangtj commented May 12, 2020

@sli1989 I saw that the dimmer option was added in #607, but it does not exist on the master(#1496), where was it removed (for what reason)?

@sli1989
Copy link
Collaborator

sli1989 commented May 12, 2020

because of #820

@stale
Copy link

stale bot commented Jun 12, 2020

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can also use our support channels to get help with the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants