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 with responsive grid and select

See original GitHub issue

Hi all =)

Using v0.97.6. See code and picture : when resizing, bug appair between col lX and col mX. EDIT : Can be tested here

When deleting select, bug disappear. I can use everything else instead of select. But select make this bug appear.

Screenshots tell it better : 1 2 3

            <div class="row">
                <div class="col s12">
                    <h3>Recherche :</h3>
                </div>
                <div class="col s12 m4 l2 input-field">
                    <input type="text" id="pr_ref">
                    <label for="pr_ref">Référence</label>
                </div>
                <div class="col s12 m8 l4 input-field">
                    <input type="text" id="pr_cat">
                    <label for="pr_cat">Categorie</label>
                </div>
                <div class="col s12 m12 l4 input-field">
                    <select id="impot">
                        <option value="all">Tous</option>
                        <option value="1">Oui</option>
                        <option value="0">Non</option>
                    </select>
                    <label for="impot">Elligible au crédit d'impôts</label>
                </div>
                <div class="col s12 m4 l2 input-field">
                    <input type="text" id="price">
                    <label for="price">Prix</label>
                </div>
                <div class="col s12 m4 l2 input-field">
                    <input type="number" min="0" id="warranty">
                    <label for="warranty">Garantie</label>
                </div>
                <div class="col s12 m4 l7 input-field">
                    <input type="text" id="name">
                    <label for="name">Nom interne</label>
                </div>
                <div class="col s12 m12 l3 center-align">
                    <button class="btn waves-effect waves-light" type="submit" name="action">
                        Recherche
                        <i class="material-icons right">search</i>
                    </button>
                </div>
            </div>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ghostcommented, May 26, 2016

@acburst Still think the same 😉 ?

1reaction
ghostcommented, May 24, 2016

OH SH*T just found it !

.select-wrapper input.select-dropdown {
    position: relative;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    outline: none;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 15px 0;
    padding: 0;
    display: block;
}

last line display:block; is the one who causing this ! It have to be inline-block -> i’m correcting and pull request

Read more comments on GitHub >

github_iconTop Results From Across the Web

Look Ma, No Media Queries! Responsive Layouts Using CSS ...
In this article, we'll start dipping our toes into the power of CSS Grid by building a couple of common responsive navigation layouts....
Read more >
Problem with CSS grid and responsive design - Stack Overflow
The grid has 4 columns and 2 rows, in desktops screens. main { display: flex; justify-content: center; align-items: center; } main .book- ...
Read more >
CSS Grid Gotchas And Stumbling Blocks - Smashing Magazine
With flexbox, you choose whether to lay the items out as a row or a column, one or the other and not both....
Read more >
CSS Grid Layout and progressive enhancement
A solution using feature queries. Feature queries will look very familiar if you have ever used a media query to create a responsive...
Read more >
Kendo-Angular / Grid / Responsive Pager when no records data
By default, the Kendo UI for Angular Grid component uses HTML select component for the pages. When there is no data, the select...
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