Skip to content

[Bug]: Ticking an option in the export menu closes the menu #378

Description

@thcp

What happens

Open Export, tick "Include click track", and the menu closes under the pointer.

Why

Every interactive element in the panel calls e.stopPropagation() so the
document-level dismiss handler (closeAllChipPanels) does not fire — the
format buttons and each action row do. The option checkboxes have no click
handler at all, so their clicks bubble out and dismiss the menu.

Why it matters now

It was survivable with one checkbox. The count-in work (#269) adds a second
("Add count-in"), and wanting both is the normal case for practising to a
click: the first tick closes the menu and the second needs it reopened.

Expected

A click inside a menu is not a click away from it. Ticking an option leaves the
menu open; the rows that should close it already do so themselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions