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
Feature suggestion: add prev/next indicators to content tabs #3531
Comments
Thanks for reporting. However, the tabs container is scrollable, which is what the new tabs implementation is all about: Ohne.Titel.mp4Before, tabs broke into several lines. There was a previous discussion whether to add a previous/next arrow as a clickable indicator to go the previous/next tab, which could be added at some point, but it hasn't been a priority until now. |
I'm changing the title of this issue to indicate that we should add indicators. If you want to add them yourself until this is resolved in Related |
@squidfunk thank you, didn't realize that I could scroll left. Of course the first time I tried I scrolled too far back and it actually triggered the 'back page'. I tried the changes and they work but the icon is very unreliable in terms of appearance, location etc. so I will need to spend some time on it. Would be great to get the support native in here eventually. Thank you! |
Changes are unreliable due to recent CSS changes in Material, there are fixes, but I'd have to dig them up. |
Just a short update: I will definitely revisit this before the next funding goal is reached, at the latest when we're close to it. I'm planning to give content tabs a slight refactor (mainly for internal reasons) and this will also include the addition of proper native and interactive tab indicators. |
I've added prev/next buttons in Ohne.Titel.mp4Note that these changes are currently only available through Insiders, but they will be released together with linked content tabs when the next funding goal is hit, which should be possible to achieve in a few weeks time. |
Released as part of 8.2.15+insiders-4.15.1 |
Nice, looks like I'll get to drop some custom stuff, always a good thing 🙂. |
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
After upgrading with the new tabbed solution the user is unable to access tabs on the left side after the user has scrolled to the right. This means they need to reload the page to get the left tabs to appear again.
Expected behaviour
With longer tabs the user should be able to scroll back to the left after scrolling to the right.
Tabs before the user clicks on "Hello World 7":
Tabs after the user clicks on "Hello World 7":
Tabs after the user clicks on "Hello World 3" (note that user cannot access "Hello World 2"):
Actual behaviour
The left tabs are hidden and cannot be accessed by the user.
Steps to reproduce
Package versions
Python 3.10.0
mkdocs, version 1.2.3
Version: 8.1.9+insiders.4.7.1
Configuration
System information
The text was updated successfully, but these errors were encountered: