Fixed search bar in tab template

I use the tabs of the Ionic template. I need a permanent search bar, but I don’t see how to insert this bar into the tab bar.

My application is like:

screen
(source: esfriki.com )

The problem is that I put the search bar in the contents of the tab, and this works, but the bar does not get fixed, when I scroll through the list, the search bar also scrolls.

I need to have a nav-bar tab and just below, in front of lists (directories), is the search bar (fixed).

Does anyone know how I can do this?

tabs.html (view tabs): https://paste.kde.org/pbqwtl473

tab-bynames.html (tab content): https://paste.kde.org/pdxhlcviu

Sorry, my poor English.

+4
1

<ion-content>, bar-header bar-subheader . has-subheader <ion-content>.

<ion-view view-title="Buscar por nombres">
    <div class="bar bar-subheader bar-dark item-input-inset" no-tap-scroll="true">
          <ion-search placeholder="Buscar nombre" min-length="1" model="search"></ion-search>
    </div>
    <ion-content has-header="true" has-tabs="true" class="">
    //content part
    </ion-content>
</ion-view>
+3

All Articles