Jump to content

Topic on Skin talk:Citizen/Flow

Prevent Drawer Card closing when link on it is clicked?

1
Medicinestorm (talkcontribs)

I have a CategoryTree displayed in the Drawer Card (the panel displayed when the hamburger menu is clicked. class="citizen-drawer__card" id="citizen-drawer__card"). However, after an update to all things MW 1.43, whenever a user clicks on a node of the category tree, the Drawer Card closes/hides, so they have to re-open the Drawer Card to continue navigating the category tree nodes.

Is there a way to prevent the Drawer Card closing whenever a link on it is clicked?

If the user actually clicks a link that goes to another page, they don't care that the Drawer Card would still be open just before the new page loads.