We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Article Parallax Header Page

Hi,

I'm using the Article Parallax Header Page from the UI Kit as a foundation for my page. However, I would like to find out how to add a Tap Gesture to the Image in the parallax, so that when it is tapped, it shows a popup with the image in.

It seems that whenever I add the TapGesture to the image in the Parallax, the event never gets called in the code-behind. 

Do you know how to fix this?

1 Reply

YP Yuvaraj Palanisamy Syncfusion Team February 3, 2020 12:36 PM UTC

Hi Mauro Da Silva, 

Thank you contacting Syncfusion support. 

We have analyzed your query and we would like to inform you that we were unable to recognize the tab motion for that image due to the addition of parallax scroll view over the image.  

You can resolve this problem by adding the following line in ParallaxScrollView. 


<Grid> 
    <Grid.GestureRecognizers> 
        <TapGestureRecognizer Tapped="TapGestureRecognizer_OnTapped"/> 
    </Grid.GestureRecognizers> 
</Grid> 

 
Also, we have prepared the sample for your reference, please find the sample from the below location. 


Please let us know if you have any concern. 

Regards, 
Yuvaraj 


Loader.
Live Chat Icon For mobile
Up arrow icon