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

Bug - Code blocks opening while moving page further down #95

Open
roshanjonah opened this issue Apr 19, 2023 · 4 comments
Open

Bug - Code blocks opening while moving page further down #95

roshanjonah opened this issue Apr 19, 2023 · 4 comments
Labels

Comments

@roshanjonah
Copy link

roshanjonah commented Apr 19, 2023

Hi @bep, The page content on the left seems to move when I move through the code examples tab. Each tab takes it to a different part of the section, so the section I am supposed to be on isn't the case anymore. I made a video of how "Slate" works and how "docuapi" seems not to work similarly to clarify this point.

Slate (How it is supposed to work as you switch different code blocks)
https://user-images.githubusercontent.com/20136098/233024178-d494ee28-5ce8-441f-a5ec-405f3ee8880e.mp4

Docuapi (How it is currently working)
https://user-images.githubusercontent.com/20136098/233023639-4c5aa1ed-c182-4685-8f77-328ffc362859.mp4

@roshanjonah
Copy link
Author

Any idea how we can fix this @bep ? Any hint would be much appreciated.

@bep bep added the bug label Oct 2, 2023
@bep
Copy link
Owner

bep commented Oct 2, 2023

Well, someone needs to spend some time looking into why it behaves the way it does., then fix it. I have a little too much on my "work plate" at the moment, so I cannot promise a fast fix, but I will eventually get there. If someone wants to fix it, I welcome a PR.

@roshanjonah
Copy link
Author

Sorry, Bjørn. I'm just circling back on this. Do you think it's the way we structured the content that's causing this. I've attached one of the markdown files. Please have a look when you get some spare time. Thanks
11-countries.md

@roshanjonah
Copy link
Author

roshanjonah commented Feb 15, 2024

I also think it could be due to multiple headings that say the same thing for different main headings. Not 100% sure.

Example:
h2 - List
h3 - HTTP request
h3 - URL segment

h2 - Campaign
h3 - HTTP request
h3 - URL segment

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

No branches or pull requests

2 participants