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(VField): rounded with long label border-radius #20349

Merged

Conversation

sakiadachi
Copy link
Contributor

Description

fixes #20305

  • Problem: The end of the text field won't be rounded, and the text field will be bigger than the max-width set.
  • Cause: .v-field__outline__notch sets a width larger than the specified max-width value.
  • Solution: .v-field__outline__notch sets max-width according to the element's height.

Markup:

I reused reproduction provided by #20305

<template>
  <v-app>
    <v-container>
      <v-text-field
        label="ravuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuusuuus"
        rounded
        variant="outlined"
      />
    </v-container>
  </v-app>
</template>

<script>
  export default {
    name: 'Playground',
    setup () {
      return {
        //
      }
    },
  }
</script>

@KaelWD KaelWD force-pushed the master branch 3 times, most recently from 4c970f9 to 6a3285f Compare September 3, 2024 18:11
@MajesticPotatoe MajesticPotatoe added T: bug Functionality that does not work as intended/expected C: VField labels Oct 28, 2024
@johnleider johnleider added this to the v3.7.x milestone Jan 24, 2025
@johnleider
Copy link
Member

Thank you for your contribution and interest in improving Vuetify! Make sure to join us in the Discord community.

@johnleider johnleider changed the title fix(VField): Text-field outlined not rounded when label is too long fix(VField): rounded with long label border-radius Jan 24, 2025
@johnleider johnleider merged commit 568f71b 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: VField T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.6.14] Text-field outlined not rounded when label is too long
3 participants