Skip to content

[ADrawer]: Persistent Prop Fails to Update Post-Initialization #152

@IcetCode

Description

@IcetCode

What is actually happening?

<script setup lang="ts">
const isDrawerShown = ref(false)
const isPersistent = ref(false)
</script>

<template>
  <ADrawer
    v-model="isDrawerShown"
    title="Drawer title"
    :persistent="isPersistent"
  >
     <ABtn @click="isPersistent = !isPersistent" >
        Change Persistent
     </ABtn>
  </ADrawer>
</template>

When I update the isPersistent value to true, AMenu can still be closed by clicking the mask.

What is Expected?

When Persistent is updated, the closing behavior should meet expectations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions