You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to setup repo, but codesandbox was giving errors and stalling out.
Description
When using the UDrawer component with :dismissible="false" and :modal="false", the drawer still closes when users interact with elements outside the drawer. This prevents users from interacting with the form or other page elements while the drawer is open.
Steps to Reproduce
Create a UDrawer component with :dismissible="false"
Set the drawer to be open
Try to interact with form elements or other content outside the drawer
Additional context
Expected Behavior
According to the documentation at https://ui.nuxt.com/components/drawer#prevent-closing, setting dismissible="false" should prevent the drawer from closing when clicking outside or pressing escape.
Actual Behavior
The drawer still closes when clicking outside, making it impossible to interact with form elements on the page while the drawer is open.
<UDrawer
v-model:open="showMobileResults"
direction="bottom"
:modal="false"
:handle="false"
:overlay="false"
dismissible="false"
title="Biological Age Results"
description="View your biological age and longevity estimates"
>
<!-- Drawer content here -->
</UDrawer>
Logs
The text was updated successfully, but these errors were encountered:
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.2
Reproduction
Tried to setup repo, but codesandbox was giving errors and stalling out.
Description
When using the UDrawer component with
:dismissible="false"
and:modal="false"
, the drawer still closes when users interact with elements outside the drawer. This prevents users from interacting with the form or other page elements while the drawer is open.Steps to Reproduce
Create a UDrawer component with :dismissible="false"
Set the drawer to be open
Try to interact with form elements or other content outside the drawer
Additional context
Expected Behavior
According to the documentation at https://ui.nuxt.com/components/drawer#prevent-closing, setting dismissible="false" should prevent the drawer from closing when clicking outside or pressing escape.
Actual Behavior
The drawer still closes when clicking outside, making it impossible to interact with form elements on the page while the drawer is open.
Logs
The text was updated successfully, but these errors were encountered: