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

v-tab selected tab indicator with centered prop doesn't stick under tab with layout change #5326

Closed
rpreilley opened this issue Oct 14, 2018 · 1 comment
Labels
invalid The issue is missing information or is not a valid bug/feature request wontfix The issue is expected and will not be fixed

Comments

@rpreilley
Copy link

rpreilley commented Oct 14, 2018

I have an app that has a split layout I have built, where a user can pass a layout size prop to the component to indicate how large the left side will be, in my case, 4 of 12. I have a button that will change the layout size to zero, which would dynamically change the right side to 12 of 12. When the right side is a V-tab with the centered prop, when hiding that side, the selected tab indicator does not stay snapped underneath the correct tab, however, if centered prop is not in use, it stays snapped underneath.

I have made a codepen. If you remove the centered prop for v-tab and select a tab and close the left side with the gray bar icon button, you can see it stays where it needs. When centered, it is misaligned.

I know this is a pretty specific scenario, but is this a bug, or normal behavior?

https://codepen.io/rpreilley/pen/ReWYay

@jacekkarczmarczyk jacekkarczmarczyk added invalid The issue is missing information or is not a valid bug/feature request wontfix The issue is expected and will not be fixed labels Oct 14, 2018
@jacekkarczmarczyk
Copy link
Member

Please only create issues with the provided issue creator. In the boilerplate for creating an issue, it explains that any ticket made without this will be automatically closed. Thank you.

See #4733

@lock lock bot locked as resolved and limited conversation to collaborators Oct 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid The issue is missing information or is not a valid bug/feature request wontfix The issue is expected and will not be fixed
Projects
None yet
Development

No branches or pull requests

2 participants