vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.8.6] Incorrect label positioning when using outlined variant and rounded

Open
#21,486 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VField E: rounded help wanted T: bug
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.8.6
Vue Version: 3.5.15
Browsers: Chrome 136.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce
  1. Use a Vuetify input component (e.g., v-text-field).
  2. Set the variant prop to "outlined".
  3. Set the rounded to prop like "lg" or "sm" not the full rounded one.
  4. Add a label prop.
  5. Focus the input or enter text to trigger the floating label.
Expected Behavior

The floating label should align vertically with the input text and the outlined border.

Actual Behavior

The .v-field__outline__start class contains a flex-basis property, which causes misalignment with the input text.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

If this behavior is intentional, there should be an option to align the label correctly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Vuetify Playground reproduction and search the source for the .v-field__outline__start class used by outlined v-text-field components. Compare rounded values such as "lg" and "sm" with the full rounded variant, then verify that the floating label aligns with the input text and outline when focused or populated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
design, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.