Mkdocs-material: Glitch in the sidebar

Created on 8 Jul 2018  路  3Comments  路  Source: squidfunk/mkdocs-material

Description

The sidebar behaves weirdly when entries are opened and closed multiple times quickly.

image

Expected behavior

Sidebar should open and close normally, entries should not overlap.

Actual behavior

Entries overlap.

Steps to reproduce the bug

  1. Add a lot of entries on multiple menus.
  2. Click on two or three entries continuously.
  3. See the entries overlap.

I've also been told that this happens sometimes without having to continuously click on the entries (which is not what people would normally do).

Package versions

  • Python: Python 3.6.5
  • MkDocs: mkdocs, version 0.17.4
  • Material: Version: 2.9.1

System information

  • OS: Windows 10
  • Browser: Firefox Developer Edition 62.0b5 (64-bit) / Chrome 67.0.3396.99 (64-bit)
bug fix available

Most helpful comment

Thanks for reporting! That's indeed a (known) bug. It should usually only happen when you click a link very often. #762 is also related. I will fix this in the JavaScript rewrite I'm currently doing, but I cannot put any estimation on a timeline. It's also been in Material since version 1.0.0.

All 3 comments

Thanks for reporting! That's indeed a (known) bug. It should usually only happen when you click a link very often. #762 is also related. I will fix this in the JavaScript rewrite I'm currently doing, but I cannot put any estimation on a timeline. It's also been in Material since version 1.0.0.

Fixed in 4ca20f1.

Released as part of 4.0.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LinusGeffarth picture LinusGeffarth  路  3Comments

dbdevtop picture dbdevtop  路  4Comments

bborysenko picture bborysenko  路  4Comments

lupupitkanen picture lupupitkanen  路  4Comments

madrus picture madrus  路  3Comments