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.

Group List Titles hidden behind top bars.

See original GitHub issue

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • Framework7 Version: 1.5.4

  • Platform and Target: iOS and Material

What you did

Hi. I was trying to use the Contact List and end up with the following code:

<div class="page">
    <div class="navbar">
        <div class="navbar-inner">
            <div class="sliding center">
                Page Title
            </div>
        </div>
    </div>
    <div class="hide-bars-on-scroll page-content">
        <div class="contacts-block list-block">
            <div class="list-block-group">
                <ul>
                    <li class="list-group-title"><span>A</span></li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                Anonimous 1
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                Anonimous 2
                            </div>
                        </div>
                    </li>
                    <!--many more...-->
                </ul>
            </div>
        </div>
    </div>
</div>

Expected Behavior

The .list-group-title elements should stay visible when I scroll the page.

Actual Behavior

  1. When there’s no navbar, it works.
  2. When there’s a fixed top bar (nav, tool, tab, etc), the group title stays hidden behind those bars.
  3. When used along with the “hide-*-on-scroll” the group titles is scrolled out of the page and when the bars returns the group title is hidden by them.

I found that, in the 3rd case, the transition rule puts a negative ‘top’ rule, making the position: sticky rule being kinda useless. And when the bars return, the ‘top’ goes back to 0 and it’s like the 2nd case when the bars hide the group title.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
J05HIcommented, Mar 23, 2017

@thiagoabreu @nolimits4web Can confirm the bug but it was there before v1.5.4. Only on Chrome for Android, iOS Safari is fine.

0reactions
lock[bot]commented, Jun 24, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Show or hide a chart legend or data table - Microsoft Support
Select a chart and then select the plus sign to the top right. Point to Legend and select the arrow next to it....
Read more >
How to group rows in Excel to collapse and expand them
Learn a quick way to group rows in Excel, to hide rows within a certain group, to collapse or expand the entire outline...
Read more >
How to hide the title bar for an Activity in XML with existing ...
Best answer.. this.requestWindowFeature(Window.FEATURE_NO_TITLE); is not suitable and <item name="android:windowNoTitle">true</item> do lost original ...
Read more >
How to Hide Page and Post Titles in WordPress - Kinsta
Follow these few easy steps to hide titles in single posts, pages, ... If you want that title gone for good, what are...
Read more >
25 Best Bars in Paris | Condé Nast Traveler
Whether they're hidden behind a washing machine or the marble walls of an 18th-century palace, the places on this list offer a tipple...
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