Is there a way to implement a scroll view with sticky header and footer on a modal page. Something like this Sticky Header/Footer with ScrollView in between
This is what I have already in place but the GridLayout containing the social buttons is getting truncated.
<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onShownModally" class="test">
<StackLayout orietation= "veritcal" class="mainstack">
<GridLayout rows="auto" columns="*, auto">
<label text="{{title}}" textWrap="true" class="size16b align-center" col="0" row="0" />
<Button text="" horizontalAlignment="right" tap="closePage" class="btn" col="1" row ="0"/>
</GridLayout>
<ScrollView>
<ios><HtmlView class="stack" html="{{htmlString}}" /></ios>
<android><WebView class="stack" src="{{htmlString}}" id="andWebView"/> </android>
</ScrollView>
<GridLayout rows="auto" columns="*, *, *, *" class="gridLay">
<Button text="" horizontalAlignment="center" tap="closePage" class="socialbtn" col="0"/>
<Button text="" horizontalAlignment="center" tap="closePage" class="socialbtn" col="1"/>
<Button text="" horizontalAlignment="center" tap="closePage" class="socialbtn" col="2"/>
<Button text="" horizontalAlignment="center" tap="closePage" class="socialbtn" col="3"/>
</GridLayout>
</StackLayout>
</Page>
This what the result is: Truncated Social Icons
And this is what I am getting if I move the GridLayout
before the Html/WebView
and have doodled what I am hoping to get:
Hoping to get something with social icon at the bottom