Skip to content

Shift+click to remove public room often opens two dialogs #20681

Closed
matrix-org/matrix-react-sdk
#7604
@c-cal

Description

@c-cal

Steps to reproduce

Do not take into account the intermediate error message in the video

remove-public-room-modal.mp4

Outcome

What did you expect?

Open only one "Remove from directory" dialog.

What happened instead?

Two MouseDown events are captured randomly, which causes "Remove from directory" dialog to be opened twice.

Operating system

Ubuntu

Browser information

Chromium 97 & FF 96

URL for webapp

https://riot.im/app

Application version

Element version: 1.9.9

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Room-DirectoryO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions