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] Incorrect text field size calculation inside expansion panel #9299

Closed
Djaler opened this issue Oct 9, 2019 · 2 comments · Fixed by #9341 or drakeg/vue_learn#18
Closed
Assignees
Labels
C: VTextField VTextField

Comments

@Djaler
Copy link
Contributor

Djaler commented Oct 9, 2019

Environment

Vuetify Version: 2.1.2
Vue Version: 2.6.10
Browsers: Chrome 77.0.3865.90
OS: Linux x86_64

Steps to reproduce

  1. Open expansion panel
  2. Focus second field

Expected Behavior

Correct notch width in border
Correct label positioning in second field

Actual Behavior

Incorrect notch width in border
Incorrect label positioning in second field

Reproduction Link

https://codepen.io/djaler/pen/oNNXywM

Other comments

Elements width calculated while they are hidden, so offsetWidth = 0

@ghost ghost added the S: triage label Oct 9, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Oct 9, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Oct 9, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Oct 10, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Oct 10, 2019
@haggys22
Copy link
Contributor

Related: #9165, #9156, #9225

I've been working on a PR as well: #9313

@Djaler
Copy link
Contributor Author

Djaler commented Oct 11, 2019

@haggys22 I work on this too #9300

Djaler added a commit to Djaler/vuetify that referenced this issue Oct 13, 2019
@johnleider johnleider added the C: VTextField VTextField label Oct 24, 2019
@johnleider johnleider self-assigned this Oct 24, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 13, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 13, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 21, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 21, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 29, 2019
Djaler added a commit to Djaler/vuetify that referenced this issue Nov 29, 2019
johnleider pushed a commit that referenced this issue Dec 4, 2019
* feat: add new mixin to work with IntersectionObserver

* fix(VTextField): use intersect to recalculate elements width

fixes #9299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment