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): floating label should respect paddings to avoid overflow #20736

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Nov 26, 2024

Description

fixes #20734

Markup:

<template>
  <v-app>
    <v-container width="150">
      <v-text-field
        :model-value="123"
        label="test test test test test test test test test test test test test test"
      />
    </v-container>
  </v-app>
</template>

@J-Sek
Copy link
Contributor Author

J-Sek commented Nov 26, 2024

Outlined version needs some additional treatment

  • avoid cutting short labels
  • show the missing part of outline
  • (existing issue) keep right borders rounded

image

@KaelWD KaelWD marked this pull request as draft December 3, 2024 10:21
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

Successfully merging this pull request may close these issues.

[Bug Report][3.7.4] Text-field Label Text Does Not Truncate Correctly When It Exceeds Width
1 participant