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] Tabs slider not showing or showing misaligned #11206

Closed
mrodal opened this issue Apr 23, 2020 · 3 comments
Closed

[Bug Report] Tabs slider not showing or showing misaligned #11206

mrodal opened this issue Apr 23, 2020 · 3 comments
Labels
C: VTabs VTabs duplicate The issue has already been reported

Comments

@mrodal
Copy link
Contributor

mrodal commented Apr 23, 2020

Environment

Vuetify Version: 2.2.23
Vue Version: 2.6.11
Browsers: Chrome 81.0.4044.92
OS: Windows 10

Steps to reproduce

There are 2 cases:

Case 1:

  1. have a v-tabs next to something that changes the tabs position
  2. make the something move the tabs

Case 2:

  1. Have a tabs initially hidden
  2. Show the tabs

Expected Behavior

Case 1:
The slider adjustes its position accordingly

Case 2:
The slider appears with the tabs in the correct position

Actual Behavior

Case 1:
The slider adjusts its position wrong

Case 2:
The slider doesnt appear

Reproduction Link

https://codepen.io/mrodal/pen/jObyJbe

@ghost ghost added the S: triage label Apr 23, 2020
@jacekkarczmarczyk
Copy link
Member

@jacekkarczmarczyk jacekkarczmarczyk added C: VTabs VTabs duplicate The issue has already been reported and removed S: triage labels Apr 23, 2020
@mrodal
Copy link
Contributor Author

mrodal commented Apr 23, 2020

@jacekkarczmarczyk on #4733 @KaelWD says

We may add some sort of resize observer eventually

Isn't v-mutate just that? Cant that be used?

@jacekkarczmarczyk
Copy link
Member

Maybe in some cases it would work, but there's for example issue when the font file is loaded and font size is changed - in this case it don't think mutation observer would be triggered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTabs VTabs duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants