Skip to content

Middle mouse click - disabled #218

@KaiserDMC

Description

@KaiserDMC

Describe the bug

Middle mouse click is disabled on all "pill"-like buttons, such as Compete, Practice, and Details. Although the cursor changes to a pointer indicating that the button is clickable, it only responds to a left click. This prevents users from opening the "Details" page of a submission in a new tab using the middle mouse button.

Albeit a very minor one, this issue is a regression, as this functionality is present in the current version of Judge.

Steps To Reproduce

Try using middle mouse click on one of the aforementioned buttons.

Screenshots

image
image
image

Additional context

Middle mouse click does work for a and div elements that encompass the Contests, Submissions, and Administration headers, as well as the breadcrumbs wrapper. Shown in the screenshot below:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions