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

[Bug Report] VTextField Border is not aligned correctly with outlined and reverse prop in browser mozilla firefox #10798

Closed
asrori7 opened this issue Mar 10, 2020 · 12 comments · Fixed by #13051, elirehema/nbs-web#87, elirehema/authx#10 or EuanRiggans/ukpetition.info#159
Labels
C: VTextField VTextField platform specific The issue only occurs on a specific platform T: bug Functionality that does not work as intended/expected

Comments

@asrori7
Copy link

asrori7 commented Mar 10, 2020

Environment

Vuetify Version: 2.2.15
Vue Version: 2.6.10
Browsers: Mozilla Firefox
OS: Windows

Steps to reproduce

create vtextfield with prop outlined and reverse. Aligned only correctly in chrome browser but in other browser ex. mozilla firefox legend not aligned correctly. like in the screenshot that I attached in comment.

Expected Behavior

label and legend should be in right position in mozilla firefox

Actual Behavior

only label in right position and legend still in left in mozilla firefox

Reproduction Link

https://codepen.io/neko-chan/pen/xxGpYPm

@ghost ghost added the S: triage label Mar 10, 2020
@asrori7
Copy link
Author

asrori7 commented Mar 10, 2020

bug-vuetify-2 2 15

@jacekkarczmarczyk
Copy link
Member

Expected Behavior

label and legend should be in right position

image

You've submitted an issue that does not contain a reproduction. In order to effectively disposition this, we need to verify that the problem exists outside of your environment. Please open a new issue with the missing information.

Thank you for your contribution and interest in improving Vuetify. If you have any additional questions, please reach out to us in our Discord community.

@jacekkarczmarczyk jacekkarczmarczyk added missing information The issue was not created with issue creator S: needs reproduction The issue does not contain a valid reproduction and removed S: triage missing information The issue was not created with issue creator labels Mar 10, 2020
@asrori7
Copy link
Author

asrori7 commented Mar 10, 2020

@jacekkarczmarczyk I'am sorry for missing information, label and legend just correctly in CHROME browser. but in other browser ex. mozilla firefox legend not aligned correctly. like in the screenshot that I attached in comment.

@jacekkarczmarczyk
Copy link
Member

Sorry, but a screenshot is not a valid reproduction, please create a minimal codepen/codesandbox/github repo that reproduces the issue

@asrori7
Copy link
Author

asrori7 commented Mar 10, 2020

@jacekkarczmarczyk this is my codepen https://codepen.io/neko-chan/pen/xxGpYPm. it is correctly on chrome but not in mozilla firefox.

@jacekkarczmarczyk jacekkarczmarczyk added C: VTextField VTextField platform specific The issue only occurs on a specific platform T: bug Functionality that does not work as intended/expected and removed S: needs reproduction The issue does not contain a valid reproduction labels Mar 10, 2020
@jacekkarczmarczyk
Copy link
Member

Sorry, missed information about Firefox

@tronolives
Copy link

@jacekkarczmarczyk or anyone interested, I believe I have a fix for this, but I'm fairly new and would appreciate advice.
Replacing VTextField.sass:418 text-align: right with margin-inline-start: auto does the trick on Chrome, Firefox, and Safari and some initial smoke testing shows that it works fine.

Can you think of a reason why this would not be a sufficient fix? If not, do you have any suggestions for further testing? ( I can't test Windows/Edge)
Thanks :^)

@fpdrozd
Copy link
Contributor

fpdrozd commented Mar 11, 2020

@tronolives It does not work in Edge for me. But I tried margin-left: auto instead and it works fine as well (in Edge too).

Still don't know if it's a sufficient fix.

@asrori7
Copy link
Author

asrori7 commented Mar 13, 2020

for now, add this line stylesheet code in the App.vue

.v-application--is-ltr .v-text-field--outlined.v-text-field--reverse legend {
margin-inline-start: auto !important;
margin-left: auto !important;
}

@KaelWD
Copy link
Member

KaelWD commented Feb 3, 2021

Don't close issues just because you've found a workaround, it's still a bug.

@KaelWD KaelWD reopened this Feb 3, 2021
@dchinu97
Copy link
Contributor

dchinu97 commented Feb 3, 2021

@KaelWD Can please you assign this to me?

@KaelWD KaelWD added duplicate The issue has already been reported C: VTextField VTextField platform specific The issue only occurs on a specific platform T: bug Functionality that does not work as intended/expected and removed T: bug Functionality that does not work as intended/expected platform specific The issue only occurs on a specific platform duplicate The issue has already been reported labels Feb 4, 2021
@KaelWD KaelWD reopened this Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment