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] v-footer doesn't work with dynamic content height

See original GitHub issue

Environment

Vuetify Version: 2.2.11 Vue Version: 2.6.11 Browsers: Firefox 75.0 OS: Ubuntu undefined

Steps to reproduce

The issue can be clearly seen in the codpen without taking any steps.

Additional tweaks to help highlight the problem are in the comments below.

Expected Behavior

The footer height and navigation drawer clipping should be calculated correctly no matter the amount of content in the footer.

Actual Behavior

The navigation-drawer clipping does not seem to be calculated correctly.

Reproduction Link

https://codepen.io/vcavallo/pen/VwvePdY

Other comments

  • when the app prop is used on the v-navigation-drawer, the drawer will overlap the footer
  • if that prop is removed, the overlap ceases, but the drawer is now too short - and the content layout is messed up, as expected.
  • if content is removed from the footer so that it is less tall, the overlap is also resolved. but a tall footer is desired for this project
  • it has been suggested to set a height on the footer, but that is not feasible for this project

An additional weird thing I noticed in my dev environment that I can’t represent in the codepen is that when the app prop is removed/added and hot module reloading triggers, the clipping is indeed calculated correctly, but it breaks again after a page refresh through the browser.

overlap:

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MajesticPotatoecommented, Apr 15, 2020

Note: This is being caused by the height of the v-navigation-drawer not recalculating its height when the v-footer height is changed be its child content. (likely due to the footer not updating application.footer) https://codepen.io/majesticpotatoe-the-bashful/pen/QWjypKV

0reactions
bigsmalloverallcommented, Oct 28, 2022

Is there a workaround for this in Vuetify 2.6? I can’t migrate to Vuetify 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug Report] v-footer doesn't work with dynamic content height
Might cause layout jump? v-footer doesn't support dynamic content height, adding height="48px" also fixes it. Height might depend on screen ...
Read more >
How change height of page footer dynamically or how to add ...
Imagine a dynamic pagefooter could cause an infinity loop, when the content causes the pagefooter to increase to a height larger than the...
Read more >
Dynamicreports detail section with page height error
This is a very common problem in dynamicReport, Whenever You use any component in detail, header or footer with the height or width...
Read more >
Report Header with Dynamic Height - Telerik Forums
I'm having a hard time setting the size of my ReportHeader (NOT PAGE HEADER) at runtime so it will grow to fit the...
Read more >
BIRT » Footer with dynamic height - Eclipse Community Forums
Is there any provision to set different height for footers in BIRT based on pageNumbers. For eg., Can we set the footerHeight as...
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