Sometimes ion-slides on iOS are deformed (ion-slide have wrong width and is overflowed).
Setting width: 100% !important and overflow: hidden fix the problem partially but brings up a new bug which is the white space to death screen after the last slide.
Using the slides.update() function doesn't fix the problem (ionic 3).
How to solve this issue?
My
ion-slideswere hardcoded in the HTML page.So, I had packed the slides data into an array in the
tsfile and looped theion-slidetag using*ngForwith 1s delay after theionViewWillLoad()had fired.TS code:
HTML code: