Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(VDataTable): change mobile default to false #19744

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/api-generator/src/locale/en/display.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"props": {
"mobile": "Explicitly designate as a mobile display configuration.",
"mobileBreakpoint": "Overrides the display configuration default."
"mobile": "Determines the display mode of the component. If true, the component will be displayed in mobile mode. If false, the component will be displayed in desktop mode. If null, will be based on the current mobile-breakpoint",
"mobileBreakpoint": "Overrides the display configuration default screen size that the component should be considered in mobile."
}
}
4 changes: 2 additions & 2 deletions packages/vuetify/src/composables/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ export function createDisplay (options?: DisplayOptions, ssr?: SSROptions): Disp

export const makeDisplayProps = propsFactory({
mobile: {
type: Boolean,
default: null,
type: Boolean as PropType<boolean | null>,
default: false,
},
mobileBreakpoint: [Number, String] as PropType<number | DisplayBreakpoint>,
}, 'display')
Expand Down
Loading