Closed persn closed 5 years ago
Any progress on this?
Is this issue still exist in beta.17?
I updated ionic in my reproduction code, and the issue still persists.
I think you have to add some css things because by default the slider is aligned middle, but I will take a look
Can confirm this issue!
BTW, even if the button is above the list and you scroll first, the button is not working anymore . Now it's the question if this is an issue of swiper.js or Ionic
Could make it work after I locked the swipes
@ViewChild('slides') slides: Slides;
this.slides.lockSwipes(true);
<ion-slides #slides>
<ion-slide>
<ion-button (click)="onClick()">Click me</ion-button>
</ion-slide>
</ion-slides>
I summarized at #16579 and will close this here. Please follow over there for any progress
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic Info
Describe the Bug If I do a scroll down on a page with a
ion-slides
component then allclick
events for that component and children stops working. Only reproducible on some OS and web browsers, I have tested with Windows 10 and Chrome, but it seems to work fine on Ubuntu with Chromium.Steps to Reproduce Steps to reproduce the behavior:
npm run start
Related Code Minimum code https://github.com/persn/ionic-slides-scroll-bug
Expected Behavior I expect to be allowed to click the content of
ion-slides
after doing a scrollAdditional Context It might be related to this https://github.com/nolimits4web/swiper/issues/1152