Skip to content

Cancelling Modal Interaction Submits #7677

Closed
@ImmortalAxolotl

Description

@ImmortalAxolotl

Description

When pressing the cancel button on a modal prompt, it will submit it on the newest version of Discord. This does not happen when clicking off the menu, pressing escape, clicking the X in the top right, etc.

Steps to Reproduce

Use an interaction which opens a modal interaction.
Type some text into all fields.
Press cancel.

Expected Behavior

The modal should just close, with no event being sent to the bots.

Current Behavior

The modal submits, and the bot will respond to it as if it was a normal submission.

Screenshots/Videos

No response

Client and System Information

stable 417521 (007c1f2) Build Override: N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy