Jest: Menu on Jest Docs not closing after choosing a topic on mobile

Created on 11 Feb 2019  路  7Comments  路  Source: facebook/jest

馃悰 Bug Report

The bug is on API section page at least. After choosing and clicking a method on mobile menu it doesnt close, staying in front of the documentation even after the url has changed.

doc-bug

To Reproduce

Go to mobile mode on browser, or open Jest docs on your phone.
Click on the menu, next to API Reference.

Expected behavior

After clicking the menu and choosing a section, the menu should close and we should be at that part of the page.

Bug Help Wanted Upstream Bug Website

All 7 comments

Happy to accept PR fixing that :) either here or in Docusaurus

Docusaurus (on their own site) behaves correctly, so it's something weird with our setup

Id also want to fix that if possible

PR welcome 馃檪

Investigated this a little bit and made an issue on Docusaurus: https://github.com/facebook/Docusaurus/issues/1254

It does not appear to be a wrong setup on the Jest side, but an actual bug on some Markdown parsing on the Docusaurus side...

Thanks @Luanf! When they fix and release an update, we'll upgrade on our side and close this issue 馃檪

Upstream fix has landed, just waiting for a release now

Was this page helpful?
0 / 5 - 0 ratings