1 <ion-contentScroll= "false">2 <Divclass= "T-result">3 Current selection: A/b4 </Div>5 <Ion-scrolldirection= "Y"class= "Plist-scroll">6 <DLID= "#{{list.fchar}}"class= "Provincelist"ng-repeat= "items in Plistarr">7 <DT>{{Items.fchar}}</DT>8 <Divng-repeat= "Item in Items.data">9 <DDNg-click= "Showclist (item)">Ten {{Item}} One </DD> A </Div> - </DL> - </Ion-scroll> the - </ion-content>
1 . T-result{2 Height:40px;3}4 5 . Plist-scroll{6 position:Absolute;7 Top:40px!important;8 Bottom:0;9 Left:0;Ten Right:0; One}
You can deactivate scrolling of the ion-content.
Set scroll= "false"
and add your fixed content on top of the ion-content and for the scrollable content to use a ion-scroll in the ion-content.
Greets, Bengtler
This ensures that elements in the t-result are pinned to the top of the page plist-scroll elements can scroll without obscuring the top element.
Ionic development-How to ion-content the upper and lower structures on top of the lower scrollable