Skip to content

Closing the drawer after clicking on template elements #4985

@okaroir

Description

@okaroir

Environment

Hello,

If the dismissible option is set to false, there is no overlay, and the modal option is also set to false, the drawer is created in a way that allows interaction with background elements.

In this case, if you click on clickable elements such as buttons, selects, or inputs, the drawer closes unexpectedly.

I noticed this issue when I had a form open outside the drawer. When I clicked on a field to edit its text, the drawer suddenly closed.

Is this bug related to Nuxt or Vue?

Nuxt

Package

v3.x

Version

3.3.3

Reproduction

Hello,

If the dismissible option is set to false, there is no overlay, and the modal option is also set to false, the drawer is created in a way that allows interaction with background elements.

In this case, if you click on clickable elements such as buttons, selects, or inputs, the drawer closes unexpectedly.

I noticed this issue when I had a form open outside the drawer. When I clicked on a field to edit its text, the drawer suddenly closed.

Description

Hello,

If the dismissible option is set to false, there is no overlay, and the modal option is also set to false, the drawer is created in a way that allows interaction with background elements.

In this case, if you click on clickable elements such as buttons, selects, or inputs, the drawer closes unexpectedly.

I noticed this issue when I had a form open outside the drawer. When I clicked on a field to edit its text, the drawer suddenly closed.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp2-mediumNotable issue or useful enhancementv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions