question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version dropdown render issues

See original GitHub issue

I’ve found a bug and checked that …

  • the problem doesn’t occur with the default MkDocs template MkDocs does not support mike nativly
  • … the problem is not in any of my customizations (CSS, JS, template)
  • … the documentation does not mention anything about my problem
  • … there are no open or closed issues that are related to my problem

Description

We use the mike version dropdown from mkdocs material insiders and we have two problems:

  1. We have the version 1.12.0-DEV and that version has a linebreak in the dropdown.
  2. The text of our navigation tabs is renderd over the version drop down istead of under it.

This screen shot shows it: https://cdn.discordapp.com/attachments/520942709205237760/790887319636410389/unknown.png

Expected behavior

For Problem

  1. The box may scale with the size of the version strings
  2. The navigation tabs text should be below the dropdown

Actual behavior

See Description Live Demo: https://betonquest.github.io/BetonQuest/1.12.0-DEV/

Steps to reproduce the bug

  1. Use the Version selector
  2. use mike and deploy a version like 1.12.0-DEV
  3. use mike to deploy a second and maybe a third version
  4. Open the web page and try the version dropdown

Package versions

  • Python: 3.6
  • MkDocs: 1.1.2
  • Material: 6.1.7+insiders.1.13.1

Project configuration

https://github.com/BetonQuest/BetonQuest/blob/master/mkdocs.yml

System information

  • OS: Windows

  • Browser: Chrome, Firefox, Edge

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Wolf2323commented, Dec 22, 2020

Thank you very mutch

1reaction
Wolf2323commented, Dec 22, 2020

[{"version": "1.12.0-DEV", "title": "1.12.0-DEV", "aliases": ["DEV"]}, {"version": "1.11", "title": "1.11", "aliases": ["RELEASE"]}] This is the original file: https://github.com/BetonQuest/BetonQuest/blob/gh-pages/versions.json

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Version dropdown render issues - - Bountysource
We use the mike version dropdown from mkdocs material insiders and we have two problems: 1. We have the version 1.12.0-DEV and that...
Read more >
Problem with rendering different data in the dropdowns in a ...
The Problem here is: 1. When ever we choose the first option in the first dropdown and go on to select the second...
Read more >
10.7 Webview dashboard dropdown not rendering properly on ...
Issue /Introduction. When using webview 10.7 on Chrome intermittently the dashboard select panel can be blank as in the image below.
Read more >
2440276 - Dropdown rendering problems on webUI
You open dropdowns on webUI and see that there are rendering problems. For example, dropdowns are located in other position than expected.
Read more >
Dropdownlist/MultiSelectList Rendering Issue | ASP.NET Core
Dropdownlist /MultiSelectList Rendering Issue ... MultiSelectDropDown and DropDownList do not render properly in my project and the selected items ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found