question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] Tab height stuck for tab-item with lazy, transition and async content

See original GitHub issue

Versions and Environment

Vuetify: 1.5.10 Last working version: 1.2.10 Vue: 2.6.10 Browsers: Chrome 71.0.3578.80 OS: Windows 10

Steps to reproduce

Create tab-item with combination of lazy and transition props, where tab’s content is loaded asynchronously.

Expected Behavior

Tab height expands to fit content

Actual Behavior

Tab height remains fixed with an inline style, hiding async content

Reproduction Link

https://codesandbox.io/s/m45l18nw3y

Other comments

See codesandbox link… problem only occurs when all three conditions are met (lazy, transition, async content).

Workaround was to add style below, but not sure if this will create problems inside a v-dialog

.v-tabs .v-window__container {
  height: auto !important;
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
EpicFailv2commented, May 24, 2019

My issue: image

Issue consistently repeatable when rapidly switching between tabs; when second transition is called while first one is still going.

What i found was that properties of v-window component internalHeight and isActive don’t get reset. I manually reset them, to null and false respectively, and issue disappears.

Now looking for a way to make all v-window components do this without copy-pasting to all the places i use v-window

// window is v-window ref
// windowTimeout is component data variable
// @change event for v-tabs
    ensureWindow() {
      clearTimeout(this.windowTimeout);
      this.windowTimeout = setTimeout(() => {
        this.$refs.window.internalHeight = null;
        this.$refs.window.isActive = false;
      }, 1000);
    }
3reactions
pureimpulsecommented, Jul 20, 2019

not sure if this helps but I modified the CSS and it seems to fix this https://developer.mozilla.org/en-US/docs/Web/CSS/unset

it appears that a style tag is being added to the active window div

.v-tabs .v-window__container { height: unset!important; }

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

SwiftUI | Apple Developer Forums
The rows in the list have different height. But this is not the problem because I wrote also a test app with a...
Read more >
Bug List - Bugs - Eclipse.org
547872, Platform, Text, platform-text-inbox, RESO, WONT, [content assist] Design new API for asynchronous content processor, 2020-05-18.
Read more >
Mozilla Firefox Release Notes
Firefox Bug Fixes ; IPC not building on Linux PPC · For Flash Text Input, previous characters disappear when changing IME input from...
Read more >
Untitled
Giant size jenga, Android virus pcmag, Rbtd rbyjntfnh cgenybr, Fox prime 1.6 2012 tabela fipe, Laerti simoes de oliveira? Tygodnik angora kontakt, Menendez ......
Read more >
sitemap-questions-306.xml - Stack Overflow
... /questions/20201/broken-chart-images-in-crystal-reports-in-web-application ... /questions/924145/using-jquery-to-grab-the-content-from-ckeditors-iframe ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found