Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verticle Scroll not working inside Pager #143

Closed
dotnetdreamer opened this issue Oct 9, 2019 · 0 comments
Closed

Verticle Scroll not working inside Pager #143

dotnetdreamer opened this issue Oct 9, 2019 · 0 comments

Comments

@dotnetdreamer
Copy link

Which platform(s) does your issue occur on?

  • Android/Both
  • device

Please, provide the following version numbers that your issue occurs with

I have installed this on the current version of NS 6.1 and added ScrollView like below. But i can't make the scroll work:

<GridLayout class="page">
    <Pager row="4" disableSwipe="false" spacing="10%" peaking="10%" [items]="items" #pager 
        [selectedIndex]="currentPagerIndex" (selectedIndexChange)="onIndexChanged($event)" class="pager"
        backgroundColor="lightsteelblue">
        <ng-template let-i="index" let-item="item">
            <GridLayout #grid (loaded)="loaded(i)" class="pager-item" rows="80, *" columns="*" backgroundColor="red" 
            (tap)="onClicked(grid)">
                <Button text="Flip" #button></Button>
                    <ScrollView  row="1" style="border-width:5;border-color:black;height: 100%;">
                        <StackLayout style="border-width:5;border-color:yellow;height: 100%;">
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                        <Label [text]="item.title"></Label>
                    </StackLayout>
                </ScrollView>
            </GridLayout>
        </ng-template>
    </Pager>
</GridLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant