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.

Cards overlap on older browsers, causing the site to be unusable

See original GitHub issue

When cards are put into row, {col, card}(repeat) they all overlap on older browsers like IE 11 and older versions of iOS ~10 (I’m waiting for info on which iOS version my customer is having the issue with).

Here’s the difference between Chrome (top) and IE11 (bottom) using Chrome 64.0.3282.119 and IE 11 on Windows 10. Bootstrap 4 (non-beta). You can see this code in action here in my simplified example.

This is a shortened version of the code. (It doesn’t look as wrong as it does without pictures though).

<div class="row">
    <div class="col">
        <div class="card">
            test test test
        </div>
    </div>
    <div class="col">
        <div class="card">
            test test test
        </div>
    </div>
    <div class="col">
        <div class="card">
            test test test
        </div>
    </div>
    <div class="col">
        <div class="card">
            test test test
        </div>
    </div>
</div>

Live examples (screenshots were on beta 3):

I hate these old browsers, but I’ve just rolled out some sites that seem to attract people using old technology…

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
yatahazecommented, Jan 31, 2018

Everything in the link you posted seems to almost work. However, my issue stems from having more content in the cards than what those examples show.

In my screenshot, if those cards had a little more text or just an image, it would look similar to my previous examples. You can see at a very small window size the columns don’t wrap down to new rows. Actually, I can squish it enough to make it look pretty close to my issue.

Thank you for the reminding me about the BS3/col-x stuff though. Can’t believe I forgot to just try it that way, heh. My site currently works and I’m no longer in trouble. I just hope in a future update that the compatibility can be added for those old browsers. It looked nicer (in newer browsers) before this.

0reactions
mdocommented, Mar 23, 2020

Closing as stale—for the card columns, we know this is a disastrous implementation due to browser constraints. We’ve dropped it in v5 due to these problems and encouraged folks to use the grid. Same thing here applies to the original problem—it appears flex wrapping is not kicking in, and depending on the exact implementation, could be a flex bug or just a missed class.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix site display issues with Compatibility View in Internet ...
Learn how to fix website display problems using Compatibility View in Internet ... Not all website display problems are caused by browser incompatibility....
Read more >
How to fix overlapping text in Chrome - Quora
Click the hamburger menu in the top right of the Chrome window and choose More Tools then Extensions. Turn off each and every...
Read more >
safari 10 flexbox img overlap and parent size issues. bootstrap ...
I have a grid layout that works in all browsers I need except Safari 10. The images and text below should fit inside...
Read more >
Easy Checks – A First Review of Web Accessibility - W3C
This page helps you start to assess the accessibility of a web page. ... In older browsers: Select System Preferences > Keyboard >...
Read more >
Should I Use An Accessibility Overlay?
The consensus of many people with disabilities, the web design and development community, and legal voices in this space, are that ...
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