slatedocs / slate

Beautiful static documentation for your API

Home Page:https://slatedocs.github.io/slate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language tab is bugged if localStorage is disabled

Temepest74 opened this issue · comments

Bug Description
This is my repo with the API: https://github.com/sendSMS-RO/slate
When I "serve" my site locally I get no errors, but after I put the static pages on my production environment the right column breaks. When I click on a new language tab, it goes to the beginning of the document instead of staying on the same page.

I have tried to build it on Linux too, but I get the same error.

Screenshots
This is what I get in the developer console
image

Browser (please complete the following information):

  • OS: Development - Windows Production - Linux
  • Browser Brave
  • Version Latest

Okay, I solved the problem. I am using brave and I chose to block all cookies without knowing that I need them for slate to work...

With cookies and localStorage disabled, would you be able to confirm if going to https://slatedocs.github.io/slate/dev still works as expected?

Yes, your example is not bugged. If I remember, I had no problem with your example, but I had a problem on the static page created when I run bundle exec middleman build even on a clean installation of slate. This is my setting in brave
image

If you need a list of all my extensions
image

Thanks @Temepest74. I just wanted confirmation we had properly fixed the bug before cutting a new release of Slate (2.9.1) which will include the fix. That release should go out the door sometime in the next day or so.