Overflow Issues with Flexbox
See original GitHub issueI’m using flexbox grid in Foundation 6 and for some reason display: flex;
affects the overflow on the .CodeMirror-scroll
element causing it to not clip it’s content and/or scroll. The whole page scrolls horizontally. Adding max-width
to the .CodeMirror-scroll
element manages to patch the issue.
Here’s a working example of what I’m talking about http://codepen.io/KnightYoshi/pen/akjVzj
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to Fix Overflow Issues in CSS Flex Layouts - Modus Create
Under certain circumstances overflow needs a little extra love. It turns out that there was a feature in the flexbox specification that added...
Read more >Css flex overflow issue
What I'm trying to do is never let .content exceed the top position less than 0. Even the most ideal situation will be...
Read more >Overflow Issues In CSS - Smashing Magazine
As useful as CSS grid and flexbox are, they can easily cause overflow if used incorrectly. As we discussed, not using flex-wrap: wrap...
Read more >[css-flexbox] Vertical content overflows flex column layout ...
I mean that if the flexbox is fixed height, and its children are taller than it, then you'll get overflow. Exactly which element...
Read more >Horizontal Overflow With Flexbox CSS | by Amir Tugendhaft
Another workaround is to wrap our container with another div, which will be used as the scrollable container. We'll switch our flex-container 's ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having this same issue when using with Bulma.
Issue #4895 notes that this also happens for vertical (
flex-direction: column
) layout – there the height of the editor gets ignored by Firefox and Safari