Skip to content

Commit

Permalink
fix(VDialog): ignore size props when fullscreen (#20554)
Browse files Browse the repository at this point in the history
fixes #19915
  • Loading branch information
Jesse205 authored Nov 6, 2024
1 parent 0ac22b5 commit 3adcbef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vuetify/src/components/VDialog/VDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ export const VDialog = genericComponent<OverlaySlots>()({
aria-modal="true"
activatorProps={ activatorProps }
contentProps={ contentProps }
height={ !props.fullscreen ? props.height : undefined }
width={ !props.fullscreen ? props.width : undefined }
maxHeight={ !props.fullscreen ? props.maxHeight : undefined }
maxWidth={ !props.fullscreen ? props.maxWidth : undefined }
role="dialog"
onAfterEnter={ onAfterEnter }
onAfterLeave={ onAfterLeave }
Expand Down

0 comments on commit 3adcbef

Please sign in to comment.