Skip to content

Commit

Permalink
fix(VDialog): remove height and width when fullscreen
Browse files Browse the repository at this point in the history
fixes #19915
  • Loading branch information
Jesse205 committed Oct 13, 2024
1 parent 1da2356 commit 0cd7bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vuetify/src/components/VDialog/VDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ 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"
Expand Down

0 comments on commit 0cd7bf9

Please sign in to comment.