Adding a paper-scroll-header-panel within a paper-header-panel

19 views
Skip to first unread message

kc7b...@gmail.com

unread,
Oct 6, 2015, 2:49:07 PM10/6/15
to Polymer
As part of my page I have a list that I need to attach a scroll bar too. The entire page is within a paper-header-panel. If I give the paper-scroll-header-panel a height in pixels then it displays fine but otherwise, even if I set it to "width: 100%" it will not display. It seems it ought to be easier then I am trying to make it. are there any tips you can send along as to what I might be doing wrong?
David

<body class="fullbleed vertical layout flex">

    <paper-header-panel class="flex">
        <paper-toolbar>
            <div>MyViewer</div>
        </paper-toolbar>
        <div class="horizontal layout flex">
            <div class="flex">
                <paper-scroll-header-panel>
                    <paper-toolbar>
                        <div>Hello</div>
                    </paper-toolbar>
                    <div>
                        <h4>here 1</h4>
                        <h4>here 2</h4>
                        <h4>here 3</h4>
                        <h4>here 4</h4>
                        <h4>here 5</h4>
                    </div>
                </paper-scroll-header-panel>
            </div>
            <div>
                <h2>Stuff</h2>
            </div>
        </div>
    </paper-header-panel>
</body>

Reply all
Reply to author
Forward
0 new messages