No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-tabs overflow-y dynamic height

    Help
    1
    1
    714
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kyriediculous last edited by

      Hi

      So I’ve been building my app with quasar for a while now and stumbled across something which I just can’t figure out.

      I have a tabs component with tab panes. The viewheight is supposed to be one pagefold. If the area with the text (see picture) overflows the 100vh it’s supposed to scroll.
      It shows the scrollbar (see arrows) but doesn’t cut off.

      The tabs components seems to ignore the container height of 100vh-50px set by the q-page component.

      Any help? Many thanks!

      This is what I’m trying to achieve within my scope : https://codepen.io/stephenbunch/pen/KWBNVo

      0_1540693756259_bb95a9e2-2bbb-44c7-a309-f5a220c2cc94-afbeelding.png

      Stripped code:

      <template lang="html">
        <q-page v-if="bounty" :style-fn="fixPageHeight" class=" white-text">
            <div class="col-auto wrap q-px-xl">
              ...
              </div>
            <div class="col-auto q-px-xl bounty-subheader">
              ...
            </div>
              <q-tabs class="col-auto" animated swipeable color="gradient2" align="justify">
                 <q-tab default name="info" slot="title" icon="fas fa-info-circle" label="Info" />
                 <q-tab name="commits" slot="title" icon="fas fa-lightbulb" label="Commits" />
                 <q-tab disabled name="comments" slot="title" icon="fas fa-comment" label="Comments" />
                 <q-tab-pane class="column" name="info">
                   <div class="row">
                     <div class="col-lg-9 scroll-area">
                       <div class="bounty-inf items-start row">
                         <div class="col-lg-4 column">
                           ...
                         </div>
                         <div class="col-lg-8 column">
                             <strong v-if="bounty.attachments.length>0" class="attachments-title">Attachments</strong><br />
                           <div class="attachments">
                             ...
                           </div>
                         </div>
                       </div>
                       <div class="row blog-summary">
                         <div class="col-auto"v-html="bounty.description"></div>
                       </div>
                     </div>
                     <div class="col-lg-3 column bounty-activity">
                       <strong>Activity</strong><br />
                        ...
                     </div>
                   </div>
                 </q-tab-pane>
                 <q-tab-pane class="row col-auto " name="commits">
                   <div class="flex commits row">
                     <div class="col-lg-9 q-px-xl">
                       <q-list v-if="bounty.proposals.length>0" highlight inset-separator no-border>
                        ...
                       </q-list>
                     </div>
                     <div class="col-lg-3 bounty-activity">
                       <strong>Activity</strong><br />
                       ...
                     </div>
                   </div>
                   </div>
                 </q-tab-pane>
                 <q-tab-pane class="row col-auto " hidden disabled name="comments"></q-tab-pane>
               </q-tabs>
        </q-page>
      </template>
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post