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

v-data-table always rendering mobile view on SSR #476

Open
melalj opened this issue Nov 3, 2021 · 0 comments
Open

v-data-table always rendering mobile view on SSR #476

melalj opened this issue Nov 3, 2021 · 0 comments

Comments

@melalj
Copy link

melalj commented Nov 3, 2021

Module version
1.12.1

Describe the bug
Pages that contain a v-data-table are rendered on the server with the mobile layout (class v-data-table--mobile).
There's no way to change that behavior

To Reproduce
https://codesandbox.io/s/nuxtjs-vuetify-forked-7nq12?file=/pages/index.vue

Steps to reproduce the behavior:

  1. Create a page with v-data-table using nuxt SSR
  2. By default, on the generated source code the output is on the mobile layout (the UI flashes to go from mobile to desktop)

Expected behavior
We should be able to specify if we want a mobile or desktop layout by default.

Screenshots
CleanShot 2021-11-03 at 12 32 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant