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

Subviews tap event is not working in IOS #18

Closed
SandipFichadiya opened this issue Apr 29, 2017 · 3 comments
Closed

Subviews tap event is not working in IOS #18

SandipFichadiya opened this issue Apr 29, 2017 · 3 comments

Comments

@SandipFichadiya
Copy link

Hello, we have implemented this plugin in our ios application. we are not getting tap event of label or listview or image . it is working only for button . We have attached the demo code, can some one please help us in order to get this working?
we have implemented tap event for label in attached demo project as follows:

test.component.html

<Pager [items]="items | async" #pager [selectedIndex]="currentPagerIndex" readOnly="false" (selectedIndexChanged)="onIndexChanged($event)"
        class="pager">
        <template pagerItemTemplate let-i="index" let-item="item">
            <GridLayout class="pager-item" rows="auto, *" columns="*" backgroundColor="red">
                <Label [text]="item.title" (tap)="itemTapped()"></Label>
                <!--<Button [text]="item.title" (tap) = "itemTapped()"></Button>-->
                <Image stretch="fill" row="1" [src]="item.image"></Image>
            </GridLayout>
        </template>
    </Pager>

test.component.ts


itemTapped(){
        console.log("itemTapped");
    }

demo-ng.zip

@RyeGuy12
Copy link

RyeGuy12 commented Dec 1, 2017

I am having the same issue. Let me know if you have found a solution

@triniwiz
Copy link
Owner

triniwiz commented Dec 1, 2017

@RyeGuy12 this component is used in production and i've not come across this issue

@triniwiz
Copy link
Owner

triniwiz commented Jan 6, 2018

should be working in the latest release

@triniwiz triniwiz closed this as completed Jan 6, 2018
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

3 participants