Skip to content

Bug: Clicking the "Join" button also opens the event modal in Outlook Calendar events list #39356

@gauravsingh001-cyber

Description

@gauravsingh001-cyber

Description

While testing the Outlook Calendar events list, I noticed that clicking the Join button for a meeting also triggers the parent click handler and opens the event modal. This happens because the entire event row (Box) has an onClick handler to open the event modal, and the click event from the Join button bubbles up to the parent element.

As a result, two actions occur simultaneously:

  1. The meeting link opens (expected behavior).
  2. The event modal also opens (unexpected behavior).

Steps to Reproduce

  1. Open the Outlook Calendar sidebar in Rocket.Chat.
  2. Locate any event with a Join button.
  3. Click the Join button.

Current Behavior

  • The meeting link opens.
  • The event modal also opens due to event bubbling.
issue8.mp4

Expected Behavior

  • Clicking the Join button should only open the meeting link.
  • The event modal should not open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions