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.

Flex layout broken with Version 4.5.1

See original GitHub issue

The reduced Layout is that…

<div class="h-100">
	<div class="container-fluid h-100 d-flex flex-column">
		<div class="row justify-content-between header">
			<div class="col-sm-9">
				<h3>Customer Identity Management Portal</h3>
			</div>
		</div>
		<div class="row flex-grow-1" style="overflow-y: auto;">
			content area
		</div>
	</div>
</div>
html, body {
	height: 100%;
}

.header {
	background-color: #0078dc;
	box-shadow: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);
	color: #fff;
	height: 42px;
}

Under Linux Mint with Firefox 79 and Vivaldi 3.1.1929.48 the layout changes between 4.5.0 and 4.5.1. I have not tested it with another OS.

grafik

grafik

With 4.5.1 the small bar at the top has the height of the full screen and scrollbar appears.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
mdocommented, Aug 5, 2020

Reduced this test case further at https://codepen.io/emdeoh/pen/LYNYmPR?editors=1100. Confirming this is an unexpected change. Still investigating and will see what we can do.

2reactions
saranglakarecommented, Aug 5, 2020

I am also seeing the same issue with 4.5.1 (Brave on Mac). If I change the flex line from flex: 1 0 100%; to flex: 1 0 0%; it works fine. I hope this change would be reverted - seems like a wrong thing to do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Flexible Box Layout Module Level 1 - W3C
Once content is broken into lines, each line is laid out independently; flexible lengths and the justify-content and align-self properties only ...
Read more >
CSS flex layout overflow issue
The problem that I have is when the content is bigger than the second column, the row breaks into 2 separate rows even...
Read more >
Grid system · Bootstrap v4.5
Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, five default responsive...
Read more >
Chapter 4 Rendering | Using the flextable R package
Flextable documentation, an R package for generating reporting tables from R in Word, HTML, PDF and PowerPoint formats.
Read more >
SmartAdmin - Responsive WebApp by GotBootstrap
Access to legacy release – Download link to SmartAdmin legacy version with all the flavors ... Mix and match layout options to create...
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