Firefox experiencing trouble handling flexbox overflow

Having some trouble with a test project that involves using flexbox. The task at hand is to create a dashboard with multiple lists of cards arranged side-by-side with infinite overflow.

I was able to achieve this layout, however, the issue arises when each list contains a header, a card list, and a footer inside it, and the total height of the lists cannot exceed the available height of the parent container. If it does, only the card list should show overflow.

Everything looks fine in Chrome, but Firefox seems to struggle with handling the overflowing content properly. It's quite frustrating!

For reference, here is an example:

The code (also available on Plunker)

// Custom Code Here...
(function (angular) {
  // Angular module declaration
}(angular))
CSS Styling Here...
HTML Structure Here...  

In Chrome (Works perfectly) https://i.stack.imgur.com/YnpWG.png

In Firefox (Vertical overflow control not working) https://i.stack.imgur.com/7PXkM.png

Any help or suggestions would be greatly appreciated.

Answer №1

To resolve the problem, simply add min-height: 0; to the .container-body element.

.container .container-body {
  min-height: 0;
}

For further information, you can refer to this explanation in this answer

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

"Utilizing jQuery to select elements for the purpose of preventing default

$('input[name=boxes], .item_add a ').on('click', function(e) { e.preventDefault(); //perform common actions } Is it possible to stop the default scrolling behavior when clicking on a link [.item add a], while still allowing the defa ...

Necessary Selection from Dropdown

I've created a contact form with both optional and required fields. One of the mandatory fields is a drop-down menu, which looks like this: <div> <select name="favFruit[]" size="1" required> <option value="apple">Apple&l ...

Enhancing Dynamic Dropdowns with the Latest JQuery Updates

I am facing an issue with my jQuery function that updates input boxes when a dropdown option is selected. I have also implemented an addRow function to dynamically add more selects, but the jQuery function does not work for the newly added selects. Below i ...

Error Found: AngularJS Error State

Currently, I am facing a task in Angular where I need to merge two components in state.js. Being new to this, I added the code but encountered a state error that I cannot pinpoint the source of. I believe I followed the correct steps, but there seems to be ...

Ordering the value using AngularJS when ng-repeat is done by key, value pair

After utilizing the countBy function in lodash to tally up each item's occurrences within a dataset, my findings are as follows: $scope.colors= { "Orange": 3, "Blue": 2, "Pink": 1, "Red": 1, "Black": 2, }; Now, I am looking to showcase this data whi ...

The jQuery toggleClass() function is not being applied successfully to content that is dynamically generated from

I've created an awesome collection of CSS-generated cards containing icons and text with a cool animation that expands upon tapping to reveal more icons and options. I carefully crafted the list to look and behave exactly how I wanted it to. But now, ...

Obtaining zip files using AngularJS

Upon entering the following URL in my browser, I am prompted to download a file: My goal is to download this file using an AngularJS HTTP request. I have created a factory for this purpose, but unfortunately, the download is not successful. Even though ...

Is it possible for an AngularJS UI-Router controller to access parameters from a Java backend redirect?

Here is the route definition: .state('about', { url: '/about', controller: 'AboutCtrl', templateUrl: 'views/about/about.html' }) For Java backend: servletResponse.setHea ...

Refresh the CSS without having to reload the entire page

I am working on a web page that operates on a 60-second timer. The code snippet below is responsible for updating the content: protected void RefreshButton_Click(object sender, EventArgs e) { ReportRepeater.DataBind(); ReportUpdatePane ...

I am having trouble accessing the input field in my AngularJS controller

Having an issue with my Ionic framework setup using AngularJS. I am unable to access the input field "groupName" in my controller, as it always returns "undefined". I was under the impression that using ng-model would automatically add it to the controlle ...

Remove the excess white space surrounding the header background image on the website above the fold

How do I eliminate the white spaces on the left, right, and top of my background image that covers the header area above the fold on my webpage? I am currently testing in Google Chrome and using VS Code as my editor. html, body { width: 100%; height: ...

Aligning content with CSS styling

I am facing a challenge with aligning buttons in three different td tags, as the text content within each varies. I want the buttons to line up evenly regardless of the amount of text present. Is there a solution that does not involve setting a fixed parag ...

Uploading files to AWS-S3 using Angular $http PUT method: A step-by-step guide

When attempting to upload a file to AWS-S3 using $http.put(url, file) in my Angular application, I encounter an issue. The HTTP-403 Forbidden error message indicates that the signature calculated by S3 differs from the one I provided. However, if I use c ...

Difficulty in accessing controller data in AngularJS with ng-repeat

I am trying to display comments using ng-repeat in a section, but I am having trouble accessing the data. Even after debugging, I cannot access the data without modifying the controller. I am new to Angular and prone to making mistakes. HTML / JS &apo ...

I need help on correctly retrieving the ng-model value in a controller when using it with the contenteditable directive

I've attempted using ng-change, ng-keypress, ng-keyup, and ng-keydown for this issue. Using ng-change, the ng-model value is being updated in the controller but not reflecting on the front end. However, with the other three methods, the value displa ...

Jquery cascading menu

I'm currently experiencing difficulties in creating dropdown menus using jquery and css. Below is my HTML code: <nav class="topNav"> <ul> <li> <a href="#menu" class="menu-toggle"><img src ...

Avoiding the use of mailto links in PHP

One problem I encountered is with a mailto link in my PHP code: <a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3f5a525e56537f5b50525e5651114b535b">[email protected]</a>?subject=<?php rawurlencode ...

Exploring different pages in an Ionic and AngularJS mobile application

I am brand new to the world of Ionic and AngularJS. I have just started working on a simple project but have hit a roadblock. My goal is, To create a login page and a register page. When a user clicks the register button on the login page, they should be ...

Essential symbol needed for labeling the user interface element

My HTML includes a dynamic label component where the 'required' value is determined by an API response that can be either true or false. Is it feasible to assign the property ojComponent{ required: true } for this label? *Date From ---- To --- ...

Displaying cards horizontally on desktop and vertically on mobile using CSS

Context and Issue I am currently working on this specific page, with a focus on the "Top Artists" section. Desired Outcome: When viewed from a laptop, I aim for the cards to be displayed as vertical rectangles, where the ranking is at the top, followe ...