LouisBarranqueiro / hexo-theme-tranquilpeak

:lipstick: A gorgeous responsive theme for Hexo blog framework
https://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/
GNU General Public License v3.0
1.85k stars 484 forks source link

The Button which control sidebar open and close cannot work #296

Closed ZhiXingHeYiApple closed 8 years ago

ZhiXingHeYiApple commented 8 years ago

Configuration

Actual behavior

After I install the Hexo by the official document, I choose this theme. And I configuration the config.yml according to the user document. But there is a problem! The Button which control sidebar open and close cannot work.There this no response when I tab or click it. Can you give me some help? Thanks!

Expected behavior

Steps to reproduce the behavior

LouisBarranqueiro commented 8 years ago

Hey @ZhiXingHeYiApple, Which browser do you use? Is there any errors in the console of the browser when you click on the button?

jpe42 commented 8 years ago

I have this same issue after moving from 1.8.1 to 1.9. Confirmed with both Chrome 52.0.2743.60 beta (64-bit) and Safari 9.1.1. Moved back to 1.8.1 and no issues.

LouisBarranqueiro commented 8 years ago

Is there any error messages in the console? What is your sidebar_behavior configuration?

jpe42 commented 8 years ago

I will sit down tonight and move back to 1.9 to see if there are any errors.

*edit for comment below :)

sidebar_behavior: 1
LouisBarranqueiro commented 8 years ago

sidebar_behavior variable man, and not sidebar :p . ok I waiting more information to help you.

ZhiXingHeYiApple commented 8 years ago

@LouisBarranqueiro I use Safari 9.1.1. But on the android phone platform, there is still no response when click on the button. I configuration sidebar_behavior: 1 There is no error messages in the console when I click on the button. 1e1df96f-02ef-47c0-8038-d0c39a3cff25 I debug it on the safari browser! The Code which was broken don't execute.

ZhiXingHeYiApple commented 8 years ago

@jamespedwards42 It's my first time to use this theme. So I install the latest version1.9.0. But There are some bugs which make me confused!

ZhiXingHeYiApple commented 8 years ago

@LouisBarranqueiro There is another problem which I don't know how to fix it. I want to integrate algolia service in my blog. But when I use npm to install, there is an error! npm ERR! No compatible version found: debug-ms-fix-yui-compressor@2.2.2-future-reserved-word-fix-ms npm ERR! Valid install targets: npm ERR! 2.2.0-future-reserved-word-fix-ms I check the package of debug-ms-fix-ui-compressor, the latest version is @2.2.0. Why the dependency of algoliasearch is 'debug-ms-fix-yui-compressor': '2.2.2-future-reserved-word-fix-ms'? Please help! Thanks

jpe42 commented 8 years ago

Same behavior with just the stock theme with no changes to any theme config. I observed the same behavior as @ZhiXingHeYiApple. No errors on button click, but I do see the same algoliaIndex exception on page load:

screen shot 2016-07-13 at 9 51 30 pm

Switching back to to 8.1 I have zero errors in the console as expected.

LouisBarranqueiro commented 8 years ago

@ZhiXingHeYiApple Open another isue for the other problem.

@ZhiXingHeYiApple, @jamespedwards42 I'm gonna fix this one :)

LouisBarranqueiro commented 8 years ago

i'm gonna release the patch at the end of the day :)