slide effect not working in ionic 4.10.2
See original GitHub issueBug Report
Ionic version:
[x] 4.x
Current behavior:
Expected behavior:
Steps to reproduce:
Related code:
**in arquive.ts**
slideOpts= {
effect: 'fade',
loop: true,
speed:1500,
};
slidesDidLoad(slides: IonSlides) {
slides.startAutoplay();
}
**in arquive.html**
<ion-slides #background (ionSlidesDidLoad)="slidesDidLoad(background)" [options]="slideOpts">
<ion-slide class="welcome-slide">
<h2>Slide 1</h2>
</ion-slide>
<ion-slide style="background-color: blue">
<h2>Slide 2</h2>
</ion-slide>
<ion-slide style="background-color: red">
<h2>Slide 3</h2>
</ion-slide>
</ion-slides>
Other information:
Ionic info:
Not working in ionic 4.10.2 slide effect
only show effect flip, not set out effect.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:22 (6 by maintainers)
Top Results From Across the Web
Native Page Transitions Problem ionic 4
Hey, i have some problem with Native Page Transitions. here is my code. home.page.html ... Issue: slide effect not working in ionic 4.10.2....
Read more >My coverflow effect for the slider is not working in Ionic 4
But it is not showing the coverflow effect. It is displaying simple effect slider. Any help is much appreciated. ionic-framework · ionic4.
Read more >February 5, 2019, 1:59 am - Ionic Framework - Ionic Forum
Ionic hooks not work with embedded components( ... After reload all items, the sliding is not working, it is showing the items but...
Read more >Release notes and release history for Mobiscroll
We fixed an issue where the picker did not work correctly on Safari, when used with IonInput in Ionic React. We fixed the...
Read more >How to use Swiper with Ionic (instead of ion-slides) - YouTube
In this video we will implement the Swiper component without ion - slides, since it will be deprecated with Framework v6! ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there,
We have a PR currently in review that will bring more effects to
ion-slides
(includingfade
). https://github.com/ionic-team/ionic/pull/16616Our plan is to get this into the next release of Ionic. Thanks for your patience!
Hi everyone,
After some discussion with the team, we have decided to go a different route with the swiper animation plugins. Instead of adding the additional animations directly into the framework, we have decided to expose the event handlers that swiper provides. This has a few benefits:
I have created a PR for this here: https://github.com/ionic-team/ionic/pull/17959 which will be merged instead of #16616. Any feedback on this PR would be greatly appreciated!
Thanks!