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): rtl mobile alignment #20553

Merged

Conversation

AmeerHamzaRiaz
Copy link
Contributor

Description

This PR aims to fix rtl alignment for data-table mobile view.

repro: https://play.vuetifyjs.com/#eNpdTzFuwzAM/AqhJUtc74YTIEO3/iDOwMgsKoCWCIk2CgT5e2WpbpMsong83h3PN5OibU8ib8tMpjO90iSMSsfBA/RLgyLlWxobvKLzFH+hAnKwyNRIDIsbKUJU/hsXwoiKjeKVCTqX9dNhMKUOBqZwdUzHvn2k/atn+EV+C5Mnz2lWpIbt24cjcptsdKKQSOd6S15MCiUCHOBcFW+bqceJOtidPqOz6OGdSb7Q626/EZKQdZQy5yN8h3FNAVjZuLHupV7WMNU+G5v73s/M5bn8APSZe0g=

Markup:

This issue is reproducible by rendering a data-table mobile view in rtl.

<template>
  <v-app>
    <v-container>
      <v-locale-provider rtl>
        <v-data-table :items="items" mobile />
      </v-locale-provider>
    </v-container>
  </v-app>
</template>

<script setup lang="ts">
  const items = [
    {
      name: 'African Elephant',
      species: 'Loxodonta africana',
    },
  ]
</script>

@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VDataTable labels Oct 28, 2024
@johnleider johnleider added this to the v3.7.x milestone Jan 24, 2025
@johnleider johnleider changed the title fix(VDataTable): data-table rtl mobile alignment fix(VDataTable): rtl mobile alignment Jan 24, 2025
@johnleider johnleider merged commit db9fb77 into vuetifyjs:master Jan 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants