Skip to content

[Bug] Toggle menu not automatically closing on mobile after selection #1993

@Jaimeyann

Description

@Jaimeyann

Bug Report

Problematic behavior
On mobile, when one opens the toggle menu in a doc with mutliple sub-pages, once we select a sub-page, the toggle menu stays open instead of going directly to the subpage.

Image

Expected behavior/code
On mobile, once we open the toggle menu to go to the subpages, the subpage should open directly and the toggle menu disappear.

Steps to Reproduce
You can try it (on mobile) here :
https://docs.numerique.gouv.fr/docs/e68e09b7-9ddd-4c7b-b34c-4e4dd174d671/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions