Skip to content

Commit

Permalink
feat(:star:): Working updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vstyler96 committed Apr 6, 2024
1 parent 0103c35 commit 6a66aa9
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export const makeVNavigationDrawerProps = propsFactory({
default: null,
},
permanent: Boolean,
persistent: Boolean,
rail: {
type: Boolean as PropType<boolean | null>,
default: null,
Expand All @@ -71,6 +70,7 @@ export const makeVNavigationDrawerProps = propsFactory({
},
image: String,
temporary: Boolean,
persistent: Boolean,
touchless: Boolean,
width: {
type: [Number, String],
Expand Down Expand Up @@ -231,6 +231,7 @@ export const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({
'v-navigation-drawer--is-hovering': isHovering.value,
'v-navigation-drawer--rail': props.rail,
'v-navigation-drawer--temporary': isTemporary.value,
'v-navigation-drawer--persistent': isPersistent.value,
'v-navigation-drawer--active': isActive.value,
'v-navigation-drawer--sticky': isSticky.value,
},
Expand Down Expand Up @@ -303,7 +304,10 @@ export const VNavigationDrawer = genericComponent<VNavigationDrawerSlots>()({
<div
class={['v-navigation-drawer__scrim', scrimColor.backgroundColorClasses.value]}
style={[scrimStyles.value, scrimColor.backgroundColorStyles.value]}
onClick={ () => isActive.value = isPersistent.value }
onClick={ () => {
if (isPersistent.value) return
isActive.value = false
}}
{ ...scopeId }
/>
)}
Expand Down

0 comments on commit 6a66aa9

Please sign in to comment.